home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 7 / CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso / • Interesting Stuff • / Macnifier / Macnifier.rsrc / CODE_5.txt < prev    next >
Text File  |  1992-02-12  |  88KB  |  1,554 lines

  1. # near model CODE resource
  2. # jump table entries: 80-81 (2 of them)
  3. 00000000  7000                     moveq.l    D0, 0x00
  4. label00000002:
  5. 00000002  2F09                     move.l     -[A7], A1
  6. label00000004:
  7. 00000004  31C0 0220                move.w     [0x00000220 /* MemErr */], D0
  8. 00000008  4E75                     rts
  9. 0000000A  7000                     moveq.l    D0, 0x00
  10. 0000000C  60F6                     bra        -0x8 /* 00000004 */
  11. fn0000000E:
  12. 0000000E  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  13. 00000012  6A2A                     bpl        +0x2C /* 0000003E */
  14. 00000014  2078 0130                movea.l    A0, [0x00000130 /* ApplLimit */]
  15. 00000018  43F8 0114                lea.l      A1, [0x00000114 /* HeapEnd */]
  16. 0000001C  2008                     move.l     D0, A0
  17. 0000001E  9091                     sub.l      D0, [A1]
  18. 00000020  740C                     moveq.l    D2, 0x0C
  19. 00000022  B082                     cmp.l      D0, D2
  20. 00000024  6516                     bcs        +0x18 /* 0000003C */
  21. 00000026  2251                     movea.l    A1, [A1]
  22. 00000028  21C8 0114                move.l     [0x00000114 /* HeapEnd */], A0
  23. 0000002C  2280                     move.l     [A1], D0
  24. 0000002E  4211                     clr.b      [A1]
  25. 00000030  2278 02AA                movea.l    A1, [0x000002AA /* ApplZone */]
  26. 00000034  2288                     move.l     [A1], A0
  27. 00000036  2082                     move.l     [A0], D2
  28. 00000038  D1A9 000C                add.l      [A1 + 0xC], D0
  29. label0000003C:
  30. 0000003C  4E75                     rts
  31. label0000003E:
  32. 0000003E  A063                     syscall    MaxApplZone
  33. 00000040  4E75                     rts
  34. fn00000042:
  35. 00000042  225F                     movea.l    A1, [A7]+
  36. 00000044  205F                     movea.l    A0, [A7]+
  37. 00000046  A049                     syscall    HPurge
  38. 00000048  4EFA FFB8                jmp        [PC - 0x48 /* 00000002 */]
  39. fn0000004C:
  40. 0000004C  225F                     movea.l    A1, [A7]+
  41. 0000004E  205F                     movea.l    A0, [A7]+
  42. 00000050  A04A                     syscall    HNoPurge
  43. 00000052  4EFA FFAE                jmp        [PC - 0x52 /* 00000002 */]
  44. fn00000056:
  45. 00000056  225F                     movea.l    A1, [A7]+
  46. 00000058  121F                     move.b     D1, [A7]+
  47. 0000005A  301F                     move.w     D0, [A7]+
  48. 0000005C  2F09                     move.l     -[A7], A1
  49. 0000005E  4A01                     tst.b      D1
  50. 00000060  6704                     beq        +0x6 /* 00000066 */
  51. 00000062  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  52. 00000064  6002                     bra        +0x4 /* 00000068 */
  53. label00000066:
  54. 00000066  A346                     syscall    GetOSTrapAddress, flags=3
  55. label00000068:
  56. 00000068  2F48 0004                move.l     [A7 + 0x4], A0
  57. 0000006C  4E75                     rts
  58. fn0000006E:
  59. 0000006E  42A7                     clr.l      -[A7]
  60. 00000070  594F                     subq.w     A7, 4
  61. 00000072  2F38 0AB4                move.l     -[A7], [0x00000AB4 /* TEScrpHandle */]
  62. 00000076  2F3C 5445 5854           move.l     -[A7], 0x54455854 /* 'TEXT' */
  63. 0000007C  486F 000C                pea.l      [A7 + 0xC]
  64. 00000080  A9FD                     syscall    GetScrap
  65. 00000082  201F                     move.l     D0, [A7]+
  66. 00000084  584F                     addq.w     A7, 4
  67. 00000086  6A0A                     bpl        +0xC /* 00000092 */
  68. 00000088  3F40 0004                move.w     [A7 + 0x4], D0
  69. 0000008C  4278 0AB0                clr.w      [0x00000AB0 /* TEScrpLength */]
  70. 00000090  6008                     bra        +0xA /* 0000009A */
  71. label00000092:
  72. 00000092  426F 0004                clr.w      [A7 + 0x4]
  73. 00000096  31C0 0AB0                move.w     [0x00000AB0 /* TEScrpLength */], D0
  74. label0000009A:
  75. 0000009A  4E75                     rts
  76. fn0000009C:
  77. 0000009C  2078 0AB4                movea.l    A0, [0x00000AB4 /* TEScrpHandle */]
  78. 000000A0  A029                     syscall    HLock
  79. 000000A2  594F                     subq.w     A7, 4
  80. 000000A4  7000                     moveq.l    D0, 0x00
  81. 000000A6  3038 0AB0                move.w     D0, [0x00000AB0 /* TEScrpLength */]
  82. 000000AA  2F00                     move.l     -[A7], D0
  83. 000000AC  2F3C 5445 5854           move.l     -[A7], 0x54455854 /* 'TEXT' */
  84. 000000B2  2F10                     move.l     -[A7], [A0]
  85. 000000B4  A9FE                     syscall    PutScrap
  86. 000000B6  544F                     addq.w     A7, 2
  87. 000000B8  3F5F 0004                move.w     [A7 + 0x4], [A7]+
  88. 000000BC  2078 0AB4                movea.l    A0, [0x00000AB4 /* TEScrpHandle */]
  89. 000000C0  A02A                     syscall    HUnlock
  90. 000000C2  4E75                     rts
  91. export_10:
  92. 000000C4  4E56 FFFC                link       A6, -0x0004
  93. 000000C8  2F0A                     move.l     -[A7], A2
  94. 000000CA  486D FD82                pea.l      [A5 - 0x27E]
  95. 000000CE  A86E                     syscall    InitGraf
  96. 000000D0  A8FE                     syscall    InitFonts
  97. 000000D2  A912                     syscall    InitWindows
  98. 000000D4  A930                     syscall    InitMenus
  99. 000000D6  A9CC                     syscall    TEInit
  100. 000000D8  42A7                     clr.l      -[A7]
  101. 000000DA  A97B                     syscall    InitDialogs
  102. 000000DC  A850                     syscall    InitCursor
  103. 000000DE  42A7                     clr.l      -[A7]
  104. 000000E0  3F3C 0004                move.w     -[A7], 0x4
  105. 000000E4  A9B9                     syscall    GetCursor
  106. 000000E6  205F                     movea.l    A0, [A7]+
  107. 000000E8  2B48 FD88                move.l     [A5 - 0x278], A0
  108. 000000EC  4267                     clr.w      -[A7]
  109. 000000EE  486D FE3E                pea.l      [A5 - 0x1C2]
  110. 000000F2  A997                     syscall    OpenResFile
  111. 000000F4  301F                     move.w     D0, [A7]+
  112. 000000F6  4EBA FF16                jsr        [PC - 0xEA /* 0000000E */]
  113. 000000FA  42A7                     clr.l      -[A7]
  114. 000000FC  3F3C 0060                move.w     -[A7], 0x60 /* '`' */
  115. 00000100  1F3C 0001                move.b     -[A7], 0x1
  116. 00000104  4EBA FF50                jsr        [PC - 0xB0 /* 00000056 */]
  117. 00000108  201F                     move.l     D0, [A7]+
  118. 0000010A  42A7                     clr.l      -[A7]
  119. 0000010C  3F3C 009F                move.w     -[A7], 0x9F
  120. 00000110  1F3C 0001                move.b     -[A7], 0x1
  121. 00000114  2D40 FFFC                move.l     [A6 - 0x4], D0
  122. 00000118  4EBA FF3C                jsr        [PC - 0xC4 /* 00000056 */]
  123. 0000011C  201F                     move.l     D0, [A7]+
  124. 0000011E  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  125. 00000122  56C0                     sne        D0
  126. 00000124  4400                     neg.b      D0
  127. 00000126  4880                     ext.w      D0
  128. 00000128  1B40 FD86                move.b     [A5 - 0x27A], D0
  129. 0000012C  42A7                     clr.l      -[A7]
  130. 0000012E  4879 444C 4F47           push.l     0x444C4F47 /* 'DLOG' */
  131. 00000134  3F3C 00C9                move.w     -[A7], 0xC9
  132. 00000138  A9A0                     syscall    GetResource
  133. 0000013A  205F                     movea.l    A0, [A7]+
  134. 0000013C  2B48 FDD0                move.l     [A5 - 0x230], A0
  135. 00000140  2F2D FDD0                move.l     -[A7], [A5 - 0x230]
  136. 00000144  4EBA FF06                jsr        [PC - 0xFA /* 0000004C */]
  137. 00000148  42A7                     clr.l      -[A7]
  138. 0000014A  3F3C 00C8                move.w     -[A7], 0xC8
  139. 0000014E  486D FE50                pea.l      [A5 - 0x1B0]
  140. 00000152  A931                     syscall    NewMenu
  141. 00000154  205F                     movea.l    A0, [A7]+
  142. 00000156  2B48 FE02                move.l     [A5 - 0x1FE], A0
  143. 0000015A  2F2D FE02                move.l     -[A7], [A5 - 0x1FE]
  144. 0000015E  4879 4452 5652           push.l     0x44525652 /* 'DRVR' */
  145. 00000164  A94D                     syscall    AppendResMenu/AddResMenu
  146. 00000166  2F2D FE02                move.l     -[A7], [A5 - 0x1FE]
  147. 0000016A  4267                     clr.w      -[A7]
  148. 0000016C  A935                     syscall    InsertMenu
  149. 0000016E  42A7                     clr.l      -[A7]
  150. 00000170  3F3C 00C9                move.w     -[A7], 0xC9
  151. 00000174  486D FE52                pea.l      [A5 - 0x1AE]
  152. 00000178  A931                     syscall    NewMenu
  153. 0000017A  205F                     movea.l    A0, [A7]+
  154. 0000017C  2B48 FE06                move.l     [A5 - 0x1FA], A0
  155. 00000180  2F2D FE06                move.l     -[A7], [A5 - 0x1FA]
  156. 00000184  486D FE58                pea.l      [A5 - 0x1A8]
  157. 00000188  A933                     syscall    AppendMenu
  158. 0000018A  2F2D FE06                move.l     -[A7], [A5 - 0x1FA]
  159. 0000018E  4267                     clr.w      -[A7]
  160. 00000190  A935                     syscall    InsertMenu
  161. 00000192  A937                     syscall    DrawMenuBar
  162. 00000194  42A7                     clr.l      -[A7]
  163. 00000196  3F3C 00C9                move.w     -[A7], 0xC9
  164. 0000019A  42A7                     clr.l      -[A7]
  165. 0000019C  4878 FFFF                push.l     0xFFFF
  166. 000001A0  A97C                     syscall    GetNewDialog
  167. 000001A2  205F                     movea.l    A0, [A7]+
  168. 000001A4  2B48 FE32                move.l     [A5 - 0x1CE], A0
  169. 000001A8  2F2D FE32                move.l     -[A7], [A5 - 0x1CE]
  170. 000001AC  A873                     syscall    SetPort
  171. 000001AE  3F3C 0008                move.w     -[A7], 0x8
  172. 000001B2  A89C                     syscall    PenMode
  173. 000001B4  703C                     moveq.l    D0, 0x3C
  174. 000001B6  2B40 FDFE                move.l     [A5 - 0x202], D0
  175. 000001BA  426D FE2C                clr.w      [A5 - 0x1D4]
  176. 000001BE  7001                     moveq.l    D0, 0x01
  177. 000001C0  1B40 FE2E                move.b     [A5 - 0x1D2], D0
  178. 000001C4  486D FE22                pea.l      [A5 - 0x1DE]
  179. 000001C8  4267                     clr.w      -[A7]
  180. 000001CA  4267                     clr.w      -[A7]
  181. 000001CC  3F3C 0078                move.w     -[A7], 0x78 /* 'x' */
  182. 000001D0  3F3C 0078                move.w     -[A7], 0x78 /* 'x' */
  183. 000001D4  A8A7                     syscall    SetRect
  184. 000001D6  486D FE0A                pea.l      [A5 - 0x1F6]
  185. 000001DA  A972                     syscall    GetMouse
  186. 000001DC  486D FE0A                pea.l      [A5 - 0x1F6]
  187. 000001E0  A870                     syscall    LocalToGlobal
  188. 000001E2  4878 0002                push.l     0x2
  189. 000001E6  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  190. 000001EA  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  191. 000001EE  306D FE0A                movea.w    A0, [A5 - 0x1F6]
  192. 000001F2  B1C0                     cmpa.l     A0, D0
  193. 000001F4  6C12                     bge        +0x14 /* 00000208 */
  194. 000001F6  4878 0002                push.l     0x2
  195. 000001FA  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  196. 000001FE  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  197. 00000202  5480                     addq.l     D0, 2
  198. 00000204  3B40 FE0A                move.w     [A5 - 0x1F6], D0
  199. label00000208:
  200. 00000208  4878 0002                push.l     0x2
  201. 0000020C  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  202. 00000210  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  203. 00000214  306D FE0C                movea.w    A0, [A5 - 0x1F4]
  204. 00000218  91C0                     sub.l      A0, D0
  205. 0000021A  B0FC 0000                cmpa.w     A0, 0x0
  206. 0000021E  6C12                     bge        +0x14 /* 00000232 */
  207. 00000220  4878 0002                push.l     0x2
  208. 00000224  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  209. 00000228  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  210. 0000022C  5480                     addq.l     D0, 2
  211. 0000022E  3B40 FE0C                move.w     [A5 - 0x1F4], D0
  212. label00000232:
  213. 00000232  4878 0002                push.l     0x2
  214. 00000236  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  215. 0000023A  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  216. 0000023E  306D FE0C                movea.w    A0, [A5 - 0x1F4]
  217. 00000242  91C0                     sub.l      A0, D0
  218. 00000244  4878 0002                push.l     0x2
  219. 00000248  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  220. 0000024C  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  221. 00000250  326D FE0A                movea.w    A1, [A5 - 0x1F6]
  222. 00000254  93C0                     sub.l      A1, D0
  223. 00000256  4878 0002                push.l     0x2
  224. 0000025A  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  225. 0000025E  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  226. 00000262  346D FE0C                movea.w    A2, [A5 - 0x1F4]
  227. 00000266  D08A                     add.l      D0, A2
  228. 00000268  4878 0002                push.l     0x2
  229. 0000026C  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  230. 00000270  2D40 FFFC                move.l     [A6 - 0x4], D0
  231. 00000274  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  232. 00000278  346D FE0A                movea.w    A2, [A5 - 0x1F6]
  233. 0000027C  D08A                     add.l      D0, A2
  234. 0000027E  486D FE1A                pea.l      [A5 - 0x1E6]
  235. 00000282  2208                     move.l     D1, A0
  236. 00000284  3F01                     move.w     -[A7], D1
  237. 00000286  2209                     move.l     D1, A1
  238. 00000288  3F01                     move.w     -[A7], D1
  239. 0000028A  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  240. 0000028E  3F00                     move.w     -[A7], D0
  241. 00000290  A8A7                     syscall    SetRect
  242. 00000292  486D FE5E                pea.l      [A5 - 0x1A2]
  243. 00000296  3F3C 0003                move.w     -[A7], 0x3
  244. 0000029A  4EBA 040C                jsr        [PC + 0x40C /* 000006A8 */]
  245. 0000029E  5C8F                     addq.l     A7, 6
  246. label000002A0:
  247. 000002A0  2F2D FE32                move.l     -[A7], [A5 - 0x1CE]
  248. 000002A4  A873                     syscall    SetPort
  249. label000002A6:
  250. 000002A6  486D FE0E                pea.l      [A5 - 0x1F2]
  251. 000002AA  A972                     syscall    GetMouse
  252. 000002AC  486D FE0E                pea.l      [A5 - 0x1F2]
  253. 000002B0  A870                     syscall    LocalToGlobal
  254. 000002B2  4878 0002                push.l     0x2
  255. 000002B6  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  256. 000002BA  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  257. 000002BE  306D FE0E                movea.w    A0, [A5 - 0x1F2]
  258. 000002C2  B1C0                     cmpa.l     A0, D0
  259. 000002C4  6C12                     bge        +0x14 /* 000002D8 */
  260. 000002C6  4878 0002                push.l     0x2
  261. 000002CA  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  262. 000002CE  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  263. 000002D2  5480                     addq.l     D0, 2
  264. 000002D4  3B40 FE0E                move.w     [A5 - 0x1F2], D0
  265. label000002D8:
  266. 000002D8  4878 0002                push.l     0x2
  267. 000002DC  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  268. 000002E0  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  269. 000002E4  306D FE10                movea.w    A0, [A5 - 0x1F0]
  270. 000002E8  91C0                     sub.l      A0, D0
  271. 000002EA  B0FC 0000                cmpa.w     A0, 0x0
  272. 000002EE  6C12                     bge        +0x14 /* 00000302 */
  273. 000002F0  4878 0002                push.l     0x2
  274. 000002F4  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  275. 000002F8  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  276. 000002FC  5480                     addq.l     D0, 2
  277. 000002FE  3B40 FE10                move.w     [A5 - 0x1F0], D0
  278. label00000302:
  279. 00000302  302D FE0A                move.w     D0, [A5 - 0x1F6]
  280. 00000306  B06D FE0E                cmp.w      D0, [A5 - 0x1F2]
  281. 0000030A  6610                     bne        +0x12 /* 0000031C */
  282. 0000030C  302D FE0C                move.w     D0, [A5 - 0x1F4]
  283. 00000310  B06D FE10                cmp.w      D0, [A5 - 0x1F0]
  284. 00000314  6606                     bne        +0x8 /* 0000031C */
  285. 00000316  4A2D FE2E                tst.b      [A5 - 0x1D2]
  286. 0000031A  6648                     bne        +0x4A /* 00000364 */
  287. label0000031C:
  288. 0000031C  7000                     moveq.l    D0, 0x00
  289. 0000031E  102D FE2E                move.b     D0, [A5 - 0x1D2]
  290. 00000322  4A40                     tst.w      D0
  291. 00000324  670C                     beq        +0xE /* 00000332 */
  292. 00000326  7000                     moveq.l    D0, 0x00
  293. 00000328  102D FE2E                move.b     D0, [A5 - 0x1D2]
  294. 0000032C  0C40 0001                cmpi.w     D0, 0x1
  295. 00000330  661C                     bne        +0x1E /* 0000034E */
  296. label00000332:
  297. 00000332  486D FD08                pea.l      [A5 - 0x2F8]
  298. 00000336  206D FE32                movea.l    A0, [A5 - 0x1CE]
  299. 0000033A  4868 0002                pea.l      [A0 + 0x2]
  300. 0000033E  486D FE1A                pea.l      [A5 - 0x1E6]
  301. 00000342  486D FE22                pea.l      [A5 - 0x1DE]
  302. 00000346  3F2D FE2C                move.w     -[A7], [A5 - 0x1D4]
  303. 0000034A  42A7                     clr.l      -[A7]
  304. 0000034C  A8EC                     syscall    CopyBits
  305. label0000034E:
  306. 0000034E  486D FDEA                pea.l      [A5 - 0x216]
  307. 00000352  A976                     syscall    GetKeys
  308. 00000354  0CAD 0000 0004 FDEE      cmpi.l     [A5 - 0x212], 0x4
  309. 0000035C  6606                     bne        +0x8 /* 00000364 */
  310. 0000035E  7002                     moveq.l    D0, 0x02
  311. 00000360  1B40 FE2E                move.b     [A5 - 0x1D2], D0
  312. label00000364:
  313. 00000364  486D FD16                pea.l      [A5 - 0x2EA]
  314. 00000368  A851                     syscall    SetCursor
  315. 0000036A  486D FE0A                pea.l      [A5 - 0x1F6]
  316. 0000036E  A972                     syscall    GetMouse
  317. 00000370  486D FE0A                pea.l      [A5 - 0x1F6]
  318. 00000374  A870                     syscall    LocalToGlobal
  319. 00000376  4878 0002                push.l     0x2
  320. 0000037A  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  321. 0000037E  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  322. 00000382  306D FE0A                movea.w    A0, [A5 - 0x1F6]
  323. 00000386  B1C0                     cmpa.l     A0, D0
  324. 00000388  6C12                     bge        +0x14 /* 0000039C */
  325. 0000038A  4878 0002                push.l     0x2
  326. 0000038E  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  327. 00000392  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  328. 00000396  5480                     addq.l     D0, 2
  329. 00000398  3B40 FE0A                move.w     [A5 - 0x1F6], D0
  330. label0000039C:
  331. 0000039C  4878 0002                push.l     0x2
  332. 000003A0  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  333. 000003A4  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  334. 000003A8  306D FE0C                movea.w    A0, [A5 - 0x1F4]
  335. 000003AC  91C0                     sub.l      A0, D0
  336. 000003AE  B0FC 0000                cmpa.w     A0, 0x0
  337. 000003B2  6C12                     bge        +0x14 /* 000003C6 */
  338. 000003B4  4878 0002                push.l     0x2
  339. 000003B8  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  340. 000003BC  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  341. 000003C0  5480                     addq.l     D0, 2
  342. 000003C2  3B40 FE0C                move.w     [A5 - 0x1F4], D0
  343. label000003C6:
  344. 000003C6  4878 0002                push.l     0x2
  345. 000003CA  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  346. 000003CE  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  347. 000003D2  306D FE0C                movea.w    A0, [A5 - 0x1F4]
  348. 000003D6  91C0                     sub.l      A0, D0
  349. 000003D8  4878 0002                push.l     0x2
  350. 000003DC  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  351. 000003E0  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  352. 000003E4  326D FE0A                movea.w    A1, [A5 - 0x1F6]
  353. 000003E8  93C0                     sub.l      A1, D0
  354. 000003EA  4878 0002                push.l     0x2
  355. 000003EE  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  356. 000003F2  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  357. 000003F6  346D FE0C                movea.w    A2, [A5 - 0x1F4]
  358. 000003FA  D08A                     add.l      D0, A2
  359. 000003FC  4878 0002                push.l     0x2
  360. 00000400  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  361. 00000404  2D40 FFFC                move.l     [A6 - 0x4], D0
  362. 00000408  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  363. 0000040C  346D FE0A                movea.w    A2, [A5 - 0x1F6]
  364. 00000410  D08A                     add.l      D0, A2
  365. 00000412  486D FE1A                pea.l      [A5 - 0x1E6]
  366. 00000416  2208                     move.l     D1, A0
  367. 00000418  3F01                     move.w     -[A7], D1
  368. 0000041A  2209                     move.l     D1, A1
  369. 0000041C  3F01                     move.w     -[A7], D1
  370. 0000041E  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  371. 00000422  3F00                     move.w     -[A7], D0
  372. 00000424  A8A7                     syscall    SetRect
  373. 00000426  4A2D FD86                tst.b      [A5 - 0x27A]
  374. 0000042A  6714                     beq        +0x16 /* 00000440 */
  375. 0000042C  4267                     clr.w      -[A7]
  376. 0000042E  3F3C FFFF                move.w     -[A7], 0xFFFF
  377. 00000432  486D FDD4                pea.l      [A5 - 0x22C]
  378. 00000436  42A7                     clr.l      -[A7]
  379. 00000438  42A7                     clr.l      -[A7]
  380. 0000043A  A860                     syscall    WaitNextEvent
  381. 0000043C  101F                     move.b     D0, [A7]+
  382. 0000043E  6010                     bra        +0x12 /* 00000450 */
  383. label00000440:
  384. 00000440  A9B4                     syscall    SystemTask
  385. 00000442  4267                     clr.w      -[A7]
  386. 00000444  3F3C FFFF                move.w     -[A7], 0xFFFF
  387. 00000448  486D FDD4                pea.l      [A5 - 0x22C]
  388. 0000044C  A970                     syscall    GetNextEvent
  389. 0000044E  101F                     move.b     D0, [A7]+
  390. label00000450:
  391. 00000450  A9B4                     syscall    SystemTask
  392. 00000452  4267                     clr.w      -[A7]
  393. 00000454  486D FDD4                pea.l      [A5 - 0x22C]
  394. 00000458  A97F                     syscall    IsDialogEvent
  395. 0000045A  101F                     move.b     D0, [A7]+
  396. 0000045C  4A00                     tst.b      D0
  397. 0000045E  6612                     bne        +0x14 /* 00000472 */
  398. 00000460  0C6D 0001 FDD4           cmpi.w     [A5 - 0x22C], 0x1
  399. 00000466  6600 FE3E                bne        -0x1C0 /* 000002A6 */
  400. 0000046A  4EBA 0342                jsr        [PC + 0x342 /* 000007AE */]
  401. 0000046E  6000 FE36                bra        -0x1C8 /* 000002A6 */
  402. label00000472:
  403. 00000472  4267                     clr.w      -[A7]
  404. 00000474  486D FDD4                pea.l      [A5 - 0x22C]
  405. 00000478  486D FE32                pea.l      [A5 - 0x1CE]
  406. 0000047C  486D FE2A                pea.l      [A5 - 0x1D6]
  407. 00000480  A980                     syscall    DialogSelect
  408. 00000482  101F                     move.b     D0, [A7]+
  409. 00000484  4A00                     tst.b      D0
  410. 00000486  6700 FE1E                beq        -0x1E0 /* 000002A6 */
  411. 0000048A  0C6D 0009 FE2A           cmpi.w     [A5 - 0x1D6], 0x9 /* '\t' */
  412. 00000490  660A                     bne        +0xC /* 0000049C */
  413. 00000492  3F3C 0001                move.w     -[A7], 0x1
  414. 00000496  4EBA 03C8                jsr        [PC + 0x3C8 /* 00000860 */]
  415. 0000049A  548F                     addq.l     A7, 2
  416. label0000049C:
  417. 0000049C  0C6D 0008 FE2A           cmpi.w     [A5 - 0x1D6], 0x8
  418. 000004A2  6700 0098                beq        +0x9A /* 0000053C */
  419. 000004A6  0C6D 000A FE2A           cmpi.w     [A5 - 0x1D6], 0xA /* '\n' */
  420. 000004AC  6700 00B4                beq        +0xB6 /* 00000562 */
  421. 000004B0  0C6D 0003 FE2A           cmpi.w     [A5 - 0x1D6], 0x3
  422. 000004B6  6608                     bne        +0xA /* 000004C0 */
  423. 000004B8  4EBA 0216                jsr        [PC + 0x216 /* 000006D0 */]
  424. 000004BC  6000 00A4                bra        +0xA6 /* 00000562 */
  425. label000004C0:
  426. 000004C0  0C6D 000C FE2A           cmpi.w     [A5 - 0x1D6], 0xC
  427. 000004C6  660A                     bne        +0xC /* 000004D2 */
  428. 000004C8  703C                     moveq.l    D0, 0x3C
  429. 000004CA  2B40 FDFE                move.l     [A5 - 0x202], D0
  430. 000004CE  6000 0134                bra        +0x136 /* 00000604 */
  431. label000004D2:
  432. 000004D2  0C6D 0014 FE2A           cmpi.w     [A5 - 0x1D6], 0x14
  433. 000004D8  6700 0088                beq        +0x8A /* 00000562 */
  434. 000004DC  0C6D 0005 FE2A           cmpi.w     [A5 - 0x1D6], 0x5
  435. 000004E2  6700 007E                beq        +0x80 /* 00000562 */
  436. 000004E6  0C6D 0004 FE2A           cmpi.w     [A5 - 0x1D6], 0x4
  437. 000004EC  660E                     bne        +0x10 /* 000004FC */
  438. 000004EE  202D FDFE                move.l     D0, [A5 - 0x202]
  439. 000004F2  5A80                     addq.l     D0, 5
  440. 000004F4  2B40 FDFE                move.l     [A5 - 0x202], D0
  441. 000004F8  6000 0068                bra        +0x6A /* 00000562 */
  442. label000004FC:
  443. 000004FC  0C6D 000E FE2A           cmpi.w     [A5 - 0x1D6], 0xE
  444. 00000502  660C                     bne        +0xE /* 00000510 */
  445. 00000504  202D FDFE                move.l     D0, [A5 - 0x202]
  446. 00000508  5B80                     subq.l     D0, 5
  447. 0000050A  2B40 FDFE                move.l     [A5 - 0x202], D0
  448. 0000050E  6052                     bra        +0x54 /* 00000562 */
  449. label00000510:
  450. 00000510  0C6D 000D FE2A           cmpi.w     [A5 - 0x1D6], 0xD /* '\r' */
  451. 00000516  674A                     beq        +0x4C /* 00000562 */
  452. 00000518  0C6D 0015 FE2A           cmpi.w     [A5 - 0x1D6], 0x15
  453. 0000051E  6742                     beq        +0x44 /* 00000562 */
  454. 00000520  486D FE62                pea.l      [A5 - 0x19E]
  455. 00000524  42A7                     clr.l      -[A7]
  456. 00000526  42A7                     clr.l      -[A7]
  457. 00000528  42A7                     clr.l      -[A7]
  458. 0000052A  A98B                     syscall    ParamText
  459. 0000052C  4267                     clr.w      -[A7]
  460. 0000052E  3F3C 00C9                move.w     -[A7], 0xC9
  461. 00000532  42A7                     clr.l      -[A7]
  462. 00000534  A988                     syscall    CautionAlert
  463. 00000536  301F                     move.w     D0, [A7]+
  464. 00000538  6000 FD66                bra        -0x298 /* 000002A0 */
  465. label0000053C:
  466. 0000053C  206D FD88                movea.l    A0, [A5 - 0x278]
  467. 00000540  2050                     movea.l    A0, [A0]
  468. 00000542  43ED FD8C                lea.l      A1, [A5 - 0x274]
  469. 00000546  7010                     moveq.l    D0, 0x10
  470. label00000548:
  471. 00000548  22D8                     move.l     [A1]+, [A0]+
  472. 0000054A  51C8 FFFC                dbf        D0, -0x6 /* 00000548 */
  473. 0000054E  486D FD8C                pea.l      [A5 - 0x274]
  474. 00000552  A851                     syscall    SetCursor
  475. 00000554  3F3C 0001                move.w     -[A7], 0x1
  476. 00000558  4EBA 042A                jsr        [PC + 0x42A /* 00000984 */]
  477. 0000055C  548F                     addq.l     A7, 2
  478. 0000055E  6000 FD40                bra        -0x2BE /* 000002A0 */
  479. label00000562:
  480. 00000562  0CAD 0000 0005 FDFE      cmpi.l     [A5 - 0x202], 0x5
  481. 0000056A  6C06                     bge        +0x8 /* 00000572 */
  482. 0000056C  7005                     moveq.l    D0, 0x05
  483. 0000056E  2B40 FDFE                move.l     [A5 - 0x202], D0
  484. label00000572:
  485. 00000572  0CAD 0000 00C3 FDFE      cmpi.l     [A5 - 0x202], 0xC3
  486. 0000057A  6F08                     ble        +0xA /* 00000584 */
  487. 0000057C  2B7C 0000 00C3 FDFE      move.l     [A5 - 0x202], 0xC3
  488. label00000584:
  489. 00000584  4878 0002                push.l     0x2
  490. 00000588  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  491. 0000058C  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  492. 00000590  306D FE0C                movea.w    A0, [A5 - 0x1F4]
  493. 00000594  91C0                     sub.l      A0, D0
  494. 00000596  4878 0002                push.l     0x2
  495. 0000059A  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  496. 0000059E  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  497. 000005A2  326D FE0A                movea.w    A1, [A5 - 0x1F6]
  498. 000005A6  93C0                     sub.l      A1, D0
  499. 000005A8  4878 0002                push.l     0x2
  500. 000005AC  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  501. 000005B0  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  502. 000005B4  346D FE0C                movea.w    A2, [A5 - 0x1F4]
  503. 000005B8  D08A                     add.l      D0, A2
  504. 000005BA  4878 0002                push.l     0x2
  505. 000005BE  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  506. 000005C2  2D40 FFFC                move.l     [A6 - 0x4], D0
  507. 000005C6  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  508. 000005CA  346D FE0A                movea.w    A2, [A5 - 0x1F6]
  509. 000005CE  D08A                     add.l      D0, A2
  510. 000005D0  486D FE1A                pea.l      [A5 - 0x1E6]
  511. 000005D4  2208                     move.l     D1, A0
  512. 000005D6  3F01                     move.w     -[A7], D1
  513. 000005D8  2209                     move.l     D1, A1
  514. 000005DA  3F01                     move.w     -[A7], D1
  515. 000005DC  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  516. 000005E0  3F00                     move.w     -[A7], D0
  517. 000005E2  A8A7                     syscall    SetRect
  518. 000005E4  486D FD08                pea.l      [A5 - 0x2F8]
  519. 000005E8  206D FE32                movea.l    A0, [A5 - 0x1CE]
  520. 000005EC  4868 0002                pea.l      [A0 + 0x2]
  521. 000005F0  486D FE1A                pea.l      [A5 - 0x1E6]
  522. 000005F4  486D FE22                pea.l      [A5 - 0x1DE]
  523. 000005F8  3F2D FE2C                move.w     -[A7], [A5 - 0x1D4]
  524. 000005FC  42A7                     clr.l      -[A7]
  525. 000005FE  A8EC                     syscall    CopyBits
  526. 00000600  6000 FD1A                bra        -0x2E4 /* 0000031C */
  527. label00000604:
  528. 00000604  4878 0002                push.l     0x2
  529. 00000608  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  530. 0000060C  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  531. 00000610  306D FE0C                movea.w    A0, [A5 - 0x1F4]
  532. 00000614  91C0                     sub.l      A0, D0
  533. 00000616  4878 0002                push.l     0x2
  534. 0000061A  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  535. 0000061E  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  536. 00000622  326D FE0A                movea.w    A1, [A5 - 0x1F6]
  537. 00000626  93C0                     sub.l      A1, D0
  538. 00000628  4878 0002                push.l     0x2
  539. 0000062C  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  540. 00000630  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  541. 00000634  346D FE0C                movea.w    A2, [A5 - 0x1F4]
  542. 00000638  D08A                     add.l      D0, A2
  543. 0000063A  4878 0002                push.l     0x2
  544. 0000063E  2F2D FDFE                move.l     -[A7], [A5 - 0x202]
  545. 00000642  2D40 FFFC                move.l     [A6 - 0x4], D0
  546. 00000646  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  547. 0000064A  346D FE0A                movea.w    A2, [A5 - 0x1F6]
  548. 0000064E  D08A                     add.l      D0, A2
  549. 00000650  486D FE1A                pea.l      [A5 - 0x1E6]
  550. 00000654  2208                     move.l     D1, A0
  551. 00000656  3F01                     move.w     -[A7], D1
  552. 00000658  2209                     move.l     D1, A1
  553. 0000065A  3F01                     move.w     -[A7], D1
  554. 0000065C  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  555. 00000660  3F00                     move.w     -[A7], D0
  556. 00000662  A8A7                     syscall    SetRect
  557. 00000664  6000 FCB6                bra        -0x348 /* 0000031C */
  558. 00000668  245F                     movea.l    A2, [A7]+
  559. 0000066A  4E5E                     unlink     A6
  560. 0000066C  4E75                     rts
  561. fn0000066E:
  562. 0000066E  4E56 FFF8                link       A6, -0x0008
  563. 00000672  42AE FFFC                clr.l      [A6 - 0x4]
  564. 00000676  601E                     bra        +0x20 /* 00000696 */
  565. label00000678:
  566. 00000678  3F3C 0003                move.w     -[A7], 0x3
  567. 0000067C  A9C8                     syscall    SysBeep
  568. 0000067E  42AE FFF8                clr.l      [A6 - 0x8]
  569. 00000682  6004                     bra        +0x6 /* 00000688 */
  570. label00000684:
  571. 00000684  52AE FFF8                addq.l     [A6 - 0x8], 1
  572. label00000688:
  573. 00000688  0CAE 0000 C350 FFF8      cmpi.l     [A6 - 0x8], 0xC350
  574. 00000690  6DF2                     blt        -0xC /* 00000684 */
  575. 00000692  52AE FFFC                addq.l     [A6 - 0x4], 1
  576. label00000696:
  577. 00000696  102E 0009                move.b     D0, [A6 + 0x9]
  578. 0000069A  4880                     ext.w      D0
  579. 0000069C  48C0                     ext.l      D0
  580. 0000069E  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  581. 000006A2  6ED4                     bgt        -0x2A /* 00000678 */
  582. 000006A4  4E5E                     unlink     A6
  583. 000006A6  4E75                     rts
  584. fn000006A8:
  585. 000006A8  4E56 FFEE                link       A6, -0x0012
  586. 000006AC  2F2D FE32                move.l     -[A7], [A5 - 0x1CE]
  587. 000006B0  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  588. 000006B4  486E FFFE                pea.l      [A6 - 0x2]
  589. 000006B8  486E FFFA                pea.l      [A6 - 0x6]
  590. 000006BC  486E FFF2                pea.l      [A6 - 0xE]
  591. 000006C0  A98D                     syscall    GetDialogItem/GetDItem
  592. 000006C2  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  593. 000006C6  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  594. 000006CA  A95F                     syscall    SetControlTitle/SetCTitle
  595. 000006CC  4E5E                     unlink     A6
  596. 000006CE  4E75                     rts
  597. fn000006D0:
  598. 000006D0  7000                     moveq.l    D0, 0x00
  599. 000006D2  102D FE2E                move.b     D0, [A5 - 0x1D2]
  600. 000006D6  4A40                     tst.w      D0
  601. 000006D8  6618                     bne        +0x1A /* 000006F2 */
  602. 000006DA  7001                     moveq.l    D0, 0x01
  603. 000006DC  1B40 FE2E                move.b     [A5 - 0x1D2], D0
  604. 000006E0  486D FE70                pea.l      [A5 - 0x190]
  605. 000006E4  3F3C 0003                move.w     -[A7], 0x3
  606. 000006E8  4EBA FFBE                jsr        [PC - 0x42 /* 000006A8 */]
  607. 000006EC  5C8F                     addq.l     A7, 6
  608. 000006EE  6000 005C                bra        +0x5E /* 0000074C */
  609. label000006F2:
  610. 000006F2  7000                     moveq.l    D0, 0x00
  611. 000006F4  102D FE2E                move.b     D0, [A5 - 0x1D2]
  612. 000006F8  0C40 0001                cmpi.w     D0, 0x1
  613. 000006FC  6616                     bne        +0x18 /* 00000714 */
  614. 000006FE  7002                     moveq.l    D0, 0x02
  615. 00000700  1B40 FE2E                move.b     [A5 - 0x1D2], D0
  616. 00000704  486D FE74                pea.l      [A5 - 0x18C]
  617. 00000708  3F3C 0003                move.w     -[A7], 0x3
  618. 0000070C  4EBA FF9A                jsr        [PC - 0x66 /* 000006A8 */]
  619. 00000710  5C8F                     addq.l     A7, 6
  620. 00000712  6038                     bra        +0x3A /* 0000074C */
  621. label00000714:
  622. 00000714  7000                     moveq.l    D0, 0x00
  623. 00000716  102D FE2E                move.b     D0, [A5 - 0x1D2]
  624. 0000071A  0C40 0002                cmpi.w     D0, 0x2
  625. 0000071E  6614                     bne        +0x16 /* 00000734 */
  626. 00000720  422D FE2E                clr.b      [A5 - 0x1D2]
  627. 00000724  486D FE78                pea.l      [A5 - 0x188]
  628. 00000728  3F3C 0003                move.w     -[A7], 0x3
  629. 0000072C  4EBA FF7A                jsr        [PC - 0x86 /* 000006A8 */]
  630. 00000730  5C8F                     addq.l     A7, 6
  631. 00000732  6018                     bra        +0x1A /* 0000074C */
  632. label00000734:
  633. 00000734  486D FE7A                pea.l      [A5 - 0x186]
  634. 00000738  42A7                     clr.l      -[A7]
  635. 0000073A  42A7                     clr.l      -[A7]
  636. 0000073C  42A7                     clr.l      -[A7]
  637. 0000073E  A98B                     syscall    ParamText
  638. 00000740  4267                     clr.w      -[A7]
  639. 00000742  3F3C 00C9                move.w     -[A7], 0xC9
  640. 00000746  42A7                     clr.l      -[A7]
  641. 00000748  A988                     syscall    CautionAlert
  642. 0000074A  301F                     move.w     D0, [A7]+
  643. label0000074C:
  644. 0000074C  4E75                     rts
  645. fn0000074E:
  646. 0000074E  4E56 FEFA                link       A6, -0x0106
  647. 00000752  4267                     clr.w      -[A7]
  648. 00000754  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  649. 00000758  A86A                     syscall    HiWord
  650. 0000075A  301F                     move.w     D0, [A7]+
  651. 0000075C  3D40 FFFE                move.w     [A6 - 0x2], D0
  652. 00000760  3D6E 000A FFFC           move.w     [A6 - 0x4], [A6 + 0xA]
  653. 00000766  302E FFFE                move.w     D0, [A6 - 0x2]
  654. 0000076A  4EAD 003A                jsr        [A5 + 0x3A /* export_3 */]
  655. 0000076E  00C8                     .incomplete
  656. 00000770  00C9                     .incomplete
  657. 00000772  0034 0004 001E           ori.b      [A4 + D0.w + 0x1E], 0x4
  658. 00000778  2F2D FE02                move.l     -[A7], [A5 - 0x1FE]
  659. 0000077C  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  660. 00000780  486E FEFA                pea.l      [A6 - 0x106]
  661. 00000784  A946                     syscall    GetMenuItemText/GetItem
  662. 00000786  4267                     clr.w      -[A7]
  663. 00000788  486E FEFA                pea.l      [A6 - 0x106]
  664. 0000078C  A9B6                     syscall    OpenDeskAcc
  665. 0000078E  301F                     move.w     D0, [A7]+
  666. 00000790  6000 0014                bra        +0x16 /* 000007A6 */
  667. 00000794  302E FFFC                move.w     D0, [A6 - 0x4]
  668. 00000798  4EAD 003A                jsr        [A5 + 0x3A /* export_3 */]
  669. 0000079C  0001 0001                ori.b      D1, 0x1
  670. 000007A0  0006 0002                ori.b      D6, 0x2
  671. 000007A4  A9F4                     syscall    ExitToShell
  672. label000007A6:
  673. 000007A6  4267                     clr.w      -[A7]
  674. 000007A8  A938                     syscall    HiliteMenu
  675. 000007AA  4E5E                     unlink     A6
  676. 000007AC  4E75                     rts
  677. fn000007AE:
  678. 000007AE  4267                     clr.w      -[A7]
  679. 000007B0  2F2D FDDE                move.l     -[A7], [A5 - 0x222]
  680. 000007B4  486D FE36                pea.l      [A5 - 0x1CA]
  681. 000007B8  A92C                     syscall    FindWindow
  682. 000007BA  301F                     move.w     D0, [A7]+
  683. 000007BC  3B40 FE30                move.w     [A5 - 0x1D0], D0
  684. 000007C0  42A7                     clr.l      -[A7]
  685. 000007C2  A924                     syscall    FrontWindow
  686. 000007C4  205F                     movea.l    A0, [A7]+
  687. 000007C6  B1ED FE36                cmpa.l     A0, [A5 - 0x1CA]
  688. 000007CA  670C                     beq        +0xE /* 000007D8 */
  689. 000007CC  4AAD FE36                tst.l      [A5 - 0x1CA]
  690. 000007D0  6706                     beq        +0x8 /* 000007D8 */
  691. 000007D2  2F2D FE36                move.l     -[A7], [A5 - 0x1CA]
  692. 000007D6  A91F                     syscall    SelectWindow
  693. label000007D8:
  694. 000007D8  4AAD FE3A                tst.l      [A5 - 0x1C6]
  695. 000007DC  671C                     beq        +0x1E /* 000007FA */
  696. 000007DE  202D FE3A                move.l     D0, [A5 - 0x1C6]
  697. 000007E2  B0AD FE36                cmp.l      D0, [A5 - 0x1CA]
  698. 000007E6  6612                     bne        +0x14 /* 000007FA */
  699. 000007E8  4AAD FE36                tst.l      [A5 - 0x1CA]
  700. 000007EC  6700 0070                beq        +0x72 /* 0000085E */
  701. 000007F0  2F2D FE36                move.l     -[A7], [A5 - 0x1CA]
  702. 000007F4  A873                     syscall    SetPort
  703. 000007F6  6000 0066                bra        +0x68 /* 0000085E */
  704. label000007FA:
  705. 000007FA  302D FE30                move.w     D0, [A5 - 0x1D0]
  706. 000007FE  4EAD 003A                jsr        [A5 + 0x3A /* export_3 */]
  707. 00000802  0001 0006                ori.b      D1, 0x6
  708. 00000806  0058 000C                ori.w      [A0]+, 0xC
  709. 0000080A  001E 0052                ori.b      [A6]+, 0x52 /* 'R' */
  710. 0000080E  0026 004E                ori.b      -[A6], 0x4E /* 'N' */
  711. 00000812  0032 42A7 2F2D FDDE      ori.b      [[A2 - 0x222] + D2 * 8], 0xA7
  712. 0000081A  A93D                     syscall    MenuSelect
  713. 0000081C  201F                     move.l     D0, [A7]+
  714. 0000081E  2F00                     move.l     -[A7], D0
  715. 00000820  4EBA FF2C                jsr        [PC - 0xD4 /* 0000074E */]
  716. 00000824  588F                     addq.l     A7, 4
  717. 00000826  6036                     bra        +0x38 /* 0000085E */
  718. 00000828  486D FDD4                pea.l      [A5 - 0x22C]
  719. 0000082C  2F2D FE36                move.l     -[A7], [A5 - 0x1CA]
  720. 00000830  A9B3                     syscall    SystemClick
  721. 00000832  602A                     bra        +0x2C /* 0000085E */
  722. 00000834  2F2D FE36                move.l     -[A7], [A5 - 0x1CA]
  723. 00000838  2F2D FDDE                move.l     -[A7], [A5 - 0x222]
  724. 0000083C  486D FE12                pea.l      [A5 - 0x1EE]
  725. 00000840  A925                     syscall    DragWindow
  726. 00000842  601A                     bra        +0x1C /* 0000085E */
  727. 00000844  4267                     clr.w      -[A7]
  728. 00000846  2F2D FE32                move.l     -[A7], [A5 - 0x1CE]
  729. 0000084A  2F2D FDDE                move.l     -[A7], [A5 - 0x222]
  730. 0000084E  A91E                     syscall    TrackGoAway
  731. 00000850  101F                     move.b     D0, [A7]+
  732. 00000852  4A00                     tst.b      D0
  733. 00000854  6708                     beq        +0xA /* 0000085E */
  734. 00000856  4267                     clr.w      -[A7]
  735. 00000858  4EBA 0006                jsr        [PC + 0x6 /* 00000860 */]
  736. 0000085C  548F                     addq.l     A7, 2
  737. label0000085E:
  738. 0000085E  4E75                     rts
  739. fn00000860:
  740. 00000860  4E56 0000                link       A6, 0
  741. 00000864  486D FE0A                pea.l      [A5 - 0x1F6]
  742. 00000868  A972                     syscall    GetMouse
  743. 0000086A  486D FE0A                pea.l      [A5 - 0x1F6]
  744. 0000086E  A870                     syscall    LocalToGlobal
  745. 00000870  4A6E 0008                tst.w      [A6 + 0x8]
  746. 00000874  664E                     bne        +0x50 /* 000008C4 */
  747. 00000876  206D FDD0                movea.l    A0, [A5 - 0x230]
  748. 0000087A  302D FE0A                move.w     D0, [A5 - 0x1F6]
  749. 0000087E  5E40                     addq.w     D0, 7
  750. 00000880  2050                     movea.l    A0, [A0]
  751. 00000882  3080                     move.w     [A0], D0
  752. 00000884  206D FDD0                movea.l    A0, [A5 - 0x230]
  753. 00000888  302D FE0C                move.w     D0, [A5 - 0x1F4]
  754. 0000088C  0640 FFF6                addi.w     D0, 0xFFF6
  755. 00000890  2050                     movea.l    A0, [A0]
  756. 00000892  3140 0002                move.w     [A0 + 0x2], D0
  757. 00000896  206D FDD0                movea.l    A0, [A5 - 0x230]
  758. 0000089A  226D FDD0                movea.l    A1, [A5 - 0x230]
  759. 0000089E  2251                     movea.l    A1, [A1]
  760. 000008A0  3011                     move.w     D0, [A1]
  761. 000008A2  0640 00A8                addi.w     D0, 0xA8
  762. 000008A6  2050                     movea.l    A0, [A0]
  763. 000008A8  3140 0004                move.w     [A0 + 0x4], D0
  764. 000008AC  206D FDD0                movea.l    A0, [A5 - 0x230]
  765. 000008B0  226D FDD0                movea.l    A1, [A5 - 0x230]
  766. 000008B4  2251                     movea.l    A1, [A1]
  767. 000008B6  3029 0002                move.w     D0, [A1 + 0x2]
  768. 000008BA  0640 0074                addi.w     D0, 0x74 /* 't' */
  769. 000008BE  2050                     movea.l    A0, [A0]
  770. 000008C0  3140 0006                move.w     [A0 + 0x6], D0
  771. label000008C4:
  772. 000008C4  0C6E 0001 0008           cmpi.w     [A6 + 0x8], 0x1
  773. 000008CA  6650                     bne        +0x52 /* 0000091C */
  774. 000008CC  206D FDD0                movea.l    A0, [A5 - 0x230]
  775. 000008D0  302D FE0A                move.w     D0, [A5 - 0x1F6]
  776. 000008D4  0640 FF66                addi.w     D0, 0xFF66
  777. 000008D8  2050                     movea.l    A0, [A0]
  778. 000008DA  3080                     move.w     [A0], D0
  779. 000008DC  206D FDD0                movea.l    A0, [A5 - 0x230]
  780. 000008E0  302D FE0C                move.w     D0, [A5 - 0x1F4]
  781. 000008E4  0640 FFED                addi.w     D0, 0xFFED
  782. 000008E8  2050                     movea.l    A0, [A0]
  783. 000008EA  3140 0002                move.w     [A0 + 0x2], D0
  784. 000008EE  206D FDD0                movea.l    A0, [A5 - 0x230]
  785. 000008F2  226D FDD0                movea.l    A1, [A5 - 0x230]
  786. 000008F6  2251                     movea.l    A1, [A1]
  787. 000008F8  3011                     move.w     D0, [A1]
  788. 000008FA  0640 00A8                addi.w     D0, 0xA8
  789. 000008FE  2050                     movea.l    A0, [A0]
  790. 00000900  3140 0004                move.w     [A0 + 0x4], D0
  791. 00000904  206D FDD0                movea.l    A0, [A5 - 0x230]
  792. 00000908  226D FDD0                movea.l    A1, [A5 - 0x230]
  793. 0000090C  2251                     movea.l    A1, [A1]
  794. 0000090E  3029 0002                move.w     D0, [A1 + 0x2]
  795. 00000912  0640 0074                addi.w     D0, 0x74 /* 't' */
  796. 00000916  2050                     movea.l    A0, [A0]
  797. 00000918  3140 0006                move.w     [A0 + 0x6], D0
  798. label0000091C:
  799. 0000091C  2F2D FDD0                move.l     -[A7], [A5 - 0x230]
  800. 00000920  A9AA                     syscall    ChangedResource
  801. 00000922  4267                     clr.w      -[A7]
  802. 00000924  A9AF                     syscall    ResError
  803. 00000926  301F                     move.w     D0, [A7]+
  804. 00000928  4A40                     tst.w      D0
  805. 0000092A  671A                     beq        +0x1C /* 00000946 */
  806. 0000092C  486D FE90                pea.l      [A5 - 0x170]
  807. 00000930  42A7                     clr.l      -[A7]
  808. 00000932  42A7                     clr.l      -[A7]
  809. 00000934  42A7                     clr.l      -[A7]
  810. 00000936  A98B                     syscall    ParamText
  811. 00000938  4267                     clr.w      -[A7]
  812. 0000093A  3F3C 00C9                move.w     -[A7], 0xC9
  813. 0000093E  42A7                     clr.l      -[A7]
  814. 00000940  A988                     syscall    CautionAlert
  815. 00000942  301F                     move.w     D0, [A7]+
  816. 00000944  A9F4                     syscall    ExitToShell
  817. label00000946:
  818. 00000946  2F2D FDD0                move.l     -[A7], [A5 - 0x230]
  819. 0000094A  A9B0                     syscall    WriteResource
  820. 0000094C  4267                     clr.w      -[A7]
  821. 0000094E  A9AF                     syscall    ResError
  822. 00000950  301F                     move.w     D0, [A7]+
  823. 00000952  4A40                     tst.w      D0
  824. 00000954  671A                     beq        +0x1C /* 00000970 */
  825. 00000956  486D FEA0                pea.l      [A5 - 0x160]
  826. 0000095A  42A7                     clr.l      -[A7]
  827. 0000095C  42A7                     clr.l      -[A7]
  828. 0000095E  42A7                     clr.l      -[A7]
  829. 00000960  A98B                     syscall    ParamText
  830. 00000962  4267                     clr.w      -[A7]
  831. 00000964  3F3C 00C9                move.w     -[A7], 0xC9
  832. 00000968  42A7                     clr.l      -[A7]
  833. 0000096A  A988                     syscall    CautionAlert
  834. 0000096C  301F                     move.w     D0, [A7]+
  835. 0000096E  A9F4                     syscall    ExitToShell
  836. label00000970:
  837. 00000970  2F2D FDD0                move.l     -[A7], [A5 - 0x230]
  838. 00000974  4EBA F6CC                jsr        [PC - 0x934 /* 00000042 */]
  839. 00000978  2F2D FE32                move.l     -[A7], [A5 - 0x1CE]
  840. 0000097C  A983                     syscall    DisposeDialog
  841. 0000097E  A9F4                     syscall    ExitToShell
  842. 00000980  4E5E                     unlink     A6
  843. 00000982  4E75                     rts
  844. fn00000984:
  845. 00000984  4E56 0000                link       A6, 0
  846. 00000988  0C2E 0001 0009           cmpi.b     [A6 + 0x9], 0x1
  847. 0000098E  6716                     beq        +0x18 /* 000009A6 */
  848. 00000990  0C2E 0002 0009           cmpi.b     [A6 + 0x9], 0x2
  849. 00000996  670E                     beq        +0x10 /* 000009A6 */
  850. 00000998  3F3C 0001                move.w     -[A7], 0x1
  851. 0000099C  4EBA FCD0                jsr        [PC - 0x330 /* 0000066E */]
  852. 000009A0  548F                     addq.l     A7, 2
  853. 000009A2  6000 01F8                bra        +0x1FA /* 00000B9C */
  854. label000009A6:
  855. 000009A6  42A7                     clr.l      -[A7]
  856. 000009A8  42A7                     clr.l      -[A7]
  857. 000009AA  486D FEB0                pea.l      [A5 - 0x150]
  858. 000009AE  486D FFEE                pea.l      [A5 - 0x12]
  859. 000009B2  1F3C 0001                move.b     -[A7], 0x1
  860. 000009B6  3F3C 0004                move.w     -[A7], 0x4
  861. 000009BA  4878 FFFF                push.l     0xFFFF
  862. 000009BE  1F3C 0001                move.b     -[A7], 0x1
  863. 000009C2  42A7                     clr.l      -[A7]
  864. 000009C4  A913                     syscall    NewWindow
  865. 000009C6  205F                     movea.l    A0, [A7]+
  866. 000009C8  2B48 FEB8                move.l     [A5 - 0x148], A0
  867. 000009CC  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  868. 000009D0  A873                     syscall    SetPort
  869. 000009D2  4EBA 03CE                jsr        [PC + 0x3CE /* 00000DA2 */]
  870. 000009D6  42A7                     clr.l      -[A7]
  871. 000009D8  4879 4844 5441           push.l     0x48445441 /* 'HDTA' */
  872. 000009DE  3F3C 00C8                move.w     -[A7], 0xC8
  873. 000009E2  A9A0                     syscall    GetResource
  874. 000009E4  205F                     movea.l    A0, [A7]+
  875. 000009E6  2B48 FED4                move.l     [A5 - 0x12C], A0
  876. 000009EA  42A7                     clr.l      -[A7]
  877. 000009EC  2F2D FED4                move.l     -[A7], [A5 - 0x12C]
  878. 000009F0  A9A5                     syscall    GetResourceSizeOnDisk/SizeResource/SizeRsrc
  879. 000009F2  201F                     move.l     D0, [A7]+
  880. 000009F4  2B40 FED8                move.l     [A5 - 0x128], D0
  881. 000009F8  206D FED4                movea.l    A0, [A5 - 0x12C]
  882. 000009FC  2F10                     move.l     -[A7], [A0]
  883. 000009FE  2F2D FED8                move.l     -[A7], [A5 - 0x128]
  884. 00000A02  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  885. 00000A06  A9DE                     syscall    TEInsert
  886. 00000A08  42A7                     clr.l      -[A7]
  887. 00000A0A  42A7                     clr.l      -[A7]
  888. 00000A0C  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  889. 00000A10  A9D1                     syscall    TESetSelect
  890. 00000A12  4EBA 04E8                jsr        [PC + 0x4E8 /* 00000EFC */]
  891. 00000A16  486D FD16                pea.l      [A5 - 0x2EA]
  892. 00000A1A  A851                     syscall    SetCursor
  893. label00000A1C:
  894. 00000A1C  4267                     clr.w      -[A7]
  895. 00000A1E  3F3C FFFF                move.w     -[A7], 0xFFFF
  896. 00000A22  486D FEC4                pea.l      [A5 - 0x13C]
  897. 00000A26  A970                     syscall    GetNextEvent
  898. 00000A28  101F                     move.b     D0, [A7]+
  899. 00000A2A  0C6D 0001 FEC4           cmpi.w     [A5 - 0x13C], 0x1
  900. 00000A30  6700 006E                beq        +0x70 /* 00000AA0 */
  901. 00000A34  0C6D 0006 FEC4           cmpi.w     [A5 - 0x13C], 0x6
  902. 00000A3A  66E0                     bne        -0x1E /* 00000A1C */
  903. 00000A3C  202D FEC6                move.l     D0, [A5 - 0x13A]
  904. 00000A40  B0AD FE32                cmp.l      D0, [A5 - 0x1CE]
  905. 00000A44  670C                     beq        +0xE /* 00000A52 */
  906. 00000A46  202D FEC6                move.l     D0, [A5 - 0x13A]
  907. 00000A4A  B0AD FEB8                cmp.l      D0, [A5 - 0x148]
  908. 00000A4E  671C                     beq        +0x1E /* 00000A6C */
  909. 00000A50  60CA                     bra        -0x34 /* 00000A1C */
  910. label00000A52:
  911. 00000A52  2F2D FE32                move.l     -[A7], [A5 - 0x1CE]
  912. 00000A56  A873                     syscall    SetPort
  913. 00000A58  2F2D FE32                move.l     -[A7], [A5 - 0x1CE]
  914. 00000A5C  A922                     syscall    BeginUpdate
  915. 00000A5E  2F2D FE32                move.l     -[A7], [A5 - 0x1CE]
  916. 00000A62  A981                     syscall    DrawDialog
  917. 00000A64  2F2D FE32                move.l     -[A7], [A5 - 0x1CE]
  918. 00000A68  A923                     syscall    EndUpdate
  919. 00000A6A  60B0                     bra        -0x4E /* 00000A1C */
  920. label00000A6C:
  921. 00000A6C  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  922. 00000A70  A873                     syscall    SetPort
  923. 00000A72  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  924. 00000A76  A922                     syscall    BeginUpdate
  925. 00000A78  206D FEB8                movea.l    A0, [A5 - 0x148]
  926. 00000A7C  4868 0010                pea.l      [A0 + 0x10]
  927. 00000A80  A8A3                     syscall    EraseRect
  928. 00000A82  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  929. 00000A86  A969                     syscall    DrawControls
  930. 00000A88  206D FEB8                movea.l    A0, [A5 - 0x148]
  931. 00000A8C  4868 0010                pea.l      [A0 + 0x10]
  932. 00000A90  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  933. 00000A94  A9D3                     syscall    TEUpdate
  934. 00000A96  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  935. 00000A9A  A923                     syscall    EndUpdate
  936. 00000A9C  6000 FF7E                bra        -0x80 /* 00000A1C */
  937. label00000AA0:
  938. 00000AA0  4267                     clr.w      -[A7]
  939. 00000AA2  2F2D FECE                move.l     -[A7], [A5 - 0x132]
  940. 00000AA6  486D FEEE                pea.l      [A5 - 0x112]
  941. 00000AAA  A92C                     syscall    FindWindow
  942. 00000AAC  301F                     move.w     D0, [A7]+
  943. 00000AAE  3B40 FEDC                move.w     [A5 - 0x124], D0
  944. 00000AB2  202D FEEE                move.l     D0, [A5 - 0x112]
  945. 00000AB6  B0AD FEB8                cmp.l      D0, [A5 - 0x148]
  946. 00000ABA  6600 FF60                bne        -0x9E /* 00000A1C */
  947. 00000ABE  0C6D 0006 FEDC           cmpi.w     [A5 - 0x124], 0x6
  948. 00000AC4  6624                     bne        +0x26 /* 00000AEA */
  949. 00000AC6  4267                     clr.w      -[A7]
  950. 00000AC8  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  951. 00000ACC  2F2D FECE                move.l     -[A7], [A5 - 0x132]
  952. 00000AD0  A91E                     syscall    TrackGoAway
  953. 00000AD2  101F                     move.b     D0, [A7]+
  954. 00000AD4  4A00                     tst.b      D0
  955. 00000AD6  6700 FF44                beq        -0xBA /* 00000A1C */
  956. 00000ADA  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  957. 00000ADE  A9CD                     syscall    TEDispose
  958. 00000AE0  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  959. 00000AE4  A914                     syscall    DisposeWindow
  960. 00000AE6  6000 00B4                bra        +0xB6 /* 00000B9C */
  961. label00000AEA:
  962. 00000AEA  0C6D 0003 FEDC           cmpi.w     [A5 - 0x124], 0x3
  963. 00000AF0  6612                     bne        +0x14 /* 00000B04 */
  964. 00000AF2  486D FEC4                pea.l      [A5 - 0x13C]
  965. 00000AF6  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  966. 00000AFA  4EBA 0616                jsr        [PC + 0x616 /* 00001112 */]
  967. 00000AFE  508F                     addq.l     A7, 8
  968. 00000B00  6000 FF1A                bra        -0xE4 /* 00000A1C */
  969. label00000B04:
  970. 00000B04  0C6D 0004 FEDC           cmpi.w     [A5 - 0x124], 0x4
  971. 00000B0A  6600 FF10                bne        -0xEE /* 00000A1C */
  972. 00000B0E  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  973. 00000B12  2F2D FECE                move.l     -[A7], [A5 - 0x132]
  974. 00000B16  486D FEDE                pea.l      [A5 - 0x122]
  975. 00000B1A  A925                     syscall    DragWindow
  976. 00000B1C  6000 FEFE                bra        -0x100 /* 00000A1C */
  977. 00000B20  2F2D FEC6                move.l     -[A7], [A5 - 0x13A]
  978. 00000B24  4EBA 025E                jsr        [PC + 0x25E /* 00000D84 */]
  979. 00000B28  588F                     addq.l     A7, 4
  980. 00000B2A  4A40                     tst.w      D0
  981. 00000B2C  6700 FEEE                beq        -0x110 /* 00000A1C */
  982. 00000B30  206D FEB8                movea.l    A0, [A5 - 0x148]
  983. 00000B34  43ED FEE6                lea.l      A1, [A5 - 0x11A]
  984. 00000B38  41E8 0010                lea.l      A0, [A0 + 0x10]
  985. 00000B3C  22D8                     move.l     [A1]+, [A0]+
  986. 00000B3E  22D8                     move.l     [A1]+, [A0]+
  987. 00000B40  302D FEEA                move.w     D0, [A5 - 0x116]
  988. 00000B44  0640 FFF3                addi.w     D0, 0xFFF3
  989. 00000B48  3B40 FEE6                move.w     [A5 - 0x11A], D0
  990. 00000B4C  302D FEE8                move.w     D0, [A5 - 0x118]
  991. 00000B50  0640 FFF3                addi.w     D0, 0xFFF3
  992. 00000B54  3B40 FEE8                move.w     [A5 - 0x118], D0
  993. 00000B58  486D FEE6                pea.l      [A5 - 0x11A]
  994. 00000B5C  A928                     syscall    InvalRect
  995. 00000B5E  082D 0000 FED3           btst.b     [A5 - 0x12D], 0x0
  996. 00000B64  6718                     beq        +0x1A /* 00000B7E */
  997. 00000B66  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  998. 00000B6A  A9D8                     syscall    TEActivate
  999. 00000B6C  2F2D FEC0                move.l     -[A7], [A5 - 0x140]
  1000. 00000B70  A957                     syscall    ShowControl
  1001. 00000B72  4267                     clr.w      -[A7]
  1002. 00000B74  4EBA F4F8                jsr        [PC - 0xB08 /* 0000006E */]
  1003. 00000B78  301F                     move.w     D0, [A7]+
  1004. 00000B7A  6000 FEA0                bra        -0x15E /* 00000A1C */
  1005. label00000B7E:
  1006. 00000B7E  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  1007. 00000B82  A9D9                     syscall    TEDeactivate
  1008. 00000B84  2F2D FEC0                move.l     -[A7], [A5 - 0x140]
  1009. 00000B88  A958                     syscall    HideControl
  1010. 00000B8A  42A7                     clr.l      -[A7]
  1011. 00000B8C  A9FC                     syscall    ZeroScrap
  1012. 00000B8E  201F                     move.l     D0, [A7]+
  1013. 00000B90  4267                     clr.w      -[A7]
  1014. 00000B92  4EBA F508                jsr        [PC - 0xAF8 /* 0000009C */]
  1015. 00000B96  301F                     move.w     D0, [A7]+
  1016. 00000B98  6000 FE82                bra        -0x17C /* 00000A1C */
  1017. label00000B9C:
  1018. 00000B9C  4E5E                     unlink     A6
  1019. 00000B9E  4E75                     rts
  1020. 00000BA0  4E56 FFFC                link       A6, -0x0004
  1021. 00000BA4  426E FFFE                clr.w      [A6 - 0x2]
  1022. 00000BA8  6018                     bra        +0x1A /* 00000BC2 */
  1023. label00000BAA:
  1024. 00000BAA  426E FFFC                clr.w      [A6 - 0x4]
  1025. 00000BAE  6004                     bra        +0x6 /* 00000BB4 */
  1026. label00000BB0:
  1027. 00000BB0  526E FFFC                addq.w     [A6 - 0x4], 1
  1028. label00000BB4:
  1029. 00000BB4  302E FFFC                move.w     D0, [A6 - 0x4]
  1030. 00000BB8  B06E 0008                cmp.w      D0, [A6 + 0x8]
  1031. 00000BBC  6DF2                     blt        -0xC /* 00000BB0 */
  1032. 00000BBE  526E FFFE                addq.w     [A6 - 0x2], 1
  1033. label00000BC2:
  1034. 00000BC2  302E FFFE                move.w     D0, [A6 - 0x2]
  1035. 00000BC6  B06E 0008                cmp.w      D0, [A6 + 0x8]
  1036. 00000BCA  6DDE                     blt        -0x20 /* 00000BAA */
  1037. 00000BCC  4E5E                     unlink     A6
  1038. 00000BCE  4E75                     rts
  1039. 00000BD0  4E56 FFEC                link       A6, -0x0014
  1040. 00000BD4  2F07                     move.l     -[A7], D7
  1041. 00000BD6  A9B4                     syscall    SystemTask
  1042. 00000BD8  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  1043. 00000BDC  A9DA                     syscall    TEIdle
  1044. 00000BDE  4267                     clr.w      -[A7]
  1045. 00000BE0  3F3C FFFF                move.w     -[A7], 0xFFFF
  1046. 00000BE4  486E FFF0                pea.l      [A6 - 0x10]
  1047. 00000BE8  A970                     syscall    GetNextEvent
  1048. 00000BEA  101F                     move.b     D0, [A7]+
  1049. 00000BEC  4A00                     tst.b      D0
  1050. 00000BEE  6700 018C                beq        +0x18E /* 00000D7C */
  1051. 00000BF2  302E FFF0                move.w     D0, [A6 - 0x10]
  1052. 00000BF6  4EAD 003A                jsr        [A5 + 0x3A /* export_3 */]
  1053. 00000BFA  0001 0008                ori.b      D1, 0x8
  1054. 00000BFE  017E                     bchg       <<invalid special address>>, D0
  1055. 00000C00  0010 017A                ori.b      [A0], 0x7A /* 'z' */
  1056. 00000C04  00D8                     .incomplete
  1057. 00000C06  0176 00D4                bchg       [A6 + D0.w - 0x44], D0
  1058. 00000C0A  015A                     bchg       [A2]+, D0
  1059. 00000C0C  0170 00DE                bchg       [A0 + D0.w - 0x34], D0
  1060. 00000C10  4267                     clr.w      -[A7]
  1061. 00000C12  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  1062. 00000C16  486E FFEC                pea.l      [A6 - 0x14]
  1063. 00000C1A  A92C                     syscall    FindWindow
  1064. 00000C1C  301F                     move.w     D0, [A7]+
  1065. 00000C1E  4EAD 003A                jsr        [A5 + 0x3A /* export_3 */]
  1066. 00000C22  0000 0006                ori.b      D0, 0x6
  1067. 00000C26  0156                     bchg       [A6], D0
  1068. 00000C28  000E 0152                ori.b      A6, 0x52 /* 'R' */
  1069. 00000C2C  0038 0076 0042           ori.b      [0x00000042], 0x76 /* 'v' */
  1070. 00000C32  0062 000C                ori.w      -[A2], 0xC
  1071. 00000C36  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  1072. 00000C3A  A9C8                     syscall    SysBeep
  1073. 00000C3C  6000 013E                bra        +0x140 /* 00000D7C */
  1074. 00000C40  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1075. 00000C44  4EBA 013E                jsr        [PC + 0x13E /* 00000D84 */]
  1076. 00000C48  588F                     addq.l     A7, 4
  1077. 00000C4A  4A40                     tst.w      D0
  1078. 00000C4C  6700 012E                beq        +0x130 /* 00000D7C */
  1079. 00000C50  4267                     clr.w      -[A7]
  1080. 00000C52  2F2D FF8E                move.l     -[A7], [A5 - 0x72]
  1081. 00000C56  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  1082. 00000C5A  A91E                     syscall    TrackGoAway
  1083. 00000C5C  101F                     move.b     D0, [A7]+
  1084. 00000C5E  4A00                     tst.b      D0
  1085. 00000C60  6000 011A                bra        +0x11C /* 00000D7C */
  1086. 00000C64  486E FFF0                pea.l      [A6 - 0x10]
  1087. 00000C68  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1088. 00000C6C  A9B3                     syscall    SystemClick
  1089. 00000C6E  6000 010C                bra        +0x10E /* 00000D7C */
  1090. 00000C72  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1091. 00000C76  4EBA 010C                jsr        [PC + 0x10C /* 00000D84 */]
  1092. 00000C7A  588F                     addq.l     A7, 4
  1093. 00000C7C  4A40                     tst.w      D0
  1094. 00000C7E  6700 00FC                beq        +0xFE /* 00000D7C */
  1095. 00000C82  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1096. 00000C86  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  1097. 00000C8A  486D FF94                pea.l      [A5 - 0x6C]
  1098. 00000C8E  A925                     syscall    DragWindow
  1099. 00000C90  6000 00EA                bra        +0xEC /* 00000D7C */
  1100. 00000C94  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1101. 00000C98  4EBA 00EA                jsr        [PC + 0xEA /* 00000D84 */]
  1102. 00000C9C  588F                     addq.l     A7, 4
  1103. 00000C9E  4A40                     tst.w      D0
  1104. 00000CA0  6600 00DA                bne        +0xDC /* 00000D7C */
  1105. 00000CA4  42A7                     clr.l      -[A7]
  1106. 00000CA6  A924                     syscall    FrontWindow
  1107. 00000CA8  205F                     movea.l    A0, [A7]+
  1108. 00000CAA  B1EE FFEC                cmpa.l     A0, [A6 - 0x14]
  1109. 00000CAE  670A                     beq        +0xC /* 00000CBA */
  1110. 00000CB0  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1111. 00000CB4  A91F                     syscall    SelectWindow
  1112. 00000CB6  6000 00C4                bra        +0xC6 /* 00000D7C */
  1113. label00000CBA:
  1114. 00000CBA  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1115. 00000CBE  4EBA 00C4                jsr        [PC + 0xC4 /* 00000D84 */]
  1116. 00000CC2  588F                     addq.l     A7, 4
  1117. 00000CC4  4A40                     tst.w      D0
  1118. 00000CC6  6700 00B4                beq        +0xB6 /* 00000D7C */
  1119. 00000CCA  486E FFF0                pea.l      [A6 - 0x10]
  1120. 00000CCE  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  1121. 00000CD2  4EBA 043E                jsr        [PC + 0x43E /* 00001112 */]
  1122. 00000CD6  508F                     addq.l     A7, 8
  1123. 00000CD8  6000 00A2                bra        +0xA4 /* 00000D7C */
  1124. 00000CDC  203C 0000 00FF           move.l     D0, 0xFF
  1125. 00000CE2  C0AE FFF2                and.l      D0, [A6 - 0xE]
  1126. 00000CE6  1E00                     move.b     D7, D0
  1127. 00000CE8  6000 0092                bra        +0x94 /* 00000D7C */
  1128. 00000CEC  2F2E FFF2                move.l     -[A7], [A6 - 0xE]
  1129. 00000CF0  4EBA 0092                jsr        [PC + 0x92 /* 00000D84 */]
  1130. 00000CF4  588F                     addq.l     A7, 4
  1131. 00000CF6  4A40                     tst.w      D0
  1132. 00000CF8  6700 0082                beq        +0x84 /* 00000D7C */
  1133. 00000CFC  206D FF8E                movea.l    A0, [A5 - 0x72]
  1134. 00000D00  43ED FEE6                lea.l      A1, [A5 - 0x11A]
  1135. 00000D04  41E8 0010                lea.l      A0, [A0 + 0x10]
  1136. 00000D08  22D8                     move.l     [A1]+, [A0]+
  1137. 00000D0A  22D8                     move.l     [A1]+, [A0]+
  1138. 00000D0C  302D FEEA                move.w     D0, [A5 - 0x116]
  1139. 00000D10  0640 FFF3                addi.w     D0, 0xFFF3
  1140. 00000D14  3B40 FEE6                move.w     [A5 - 0x11A], D0
  1141. 00000D18  302D FEE8                move.w     D0, [A5 - 0x118]
  1142. 00000D1C  0640 FFF3                addi.w     D0, 0xFFF3
  1143. 00000D20  3B40 FEE8                move.w     [A5 - 0x118], D0
  1144. 00000D24  486D FEE6                pea.l      [A5 - 0x11A]
  1145. 00000D28  A928                     syscall    InvalRect
  1146. 00000D2A  082E 0000 FFFF           btst.b     [A6 - 0x1], 0x0
  1147. 00000D30  6716                     beq        +0x18 /* 00000D48 */
  1148. 00000D32  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  1149. 00000D36  A9D8                     syscall    TEActivate
  1150. 00000D38  2F2D FEC0                move.l     -[A7], [A5 - 0x140]
  1151. 00000D3C  A957                     syscall    ShowControl
  1152. 00000D3E  4267                     clr.w      -[A7]
  1153. 00000D40  4EBA F32C                jsr        [PC - 0xCD4 /* 0000006E */]
  1154. 00000D44  301F                     move.w     D0, [A7]+
  1155. 00000D46  6034                     bra        +0x36 /* 00000D7C */
  1156. label00000D48:
  1157. 00000D48  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  1158. 00000D4C  A9D9                     syscall    TEDeactivate
  1159. 00000D4E  2F2D FEC0                move.l     -[A7], [A5 - 0x140]
  1160. 00000D52  A958                     syscall    HideControl
  1161. 00000D54  42A7                     clr.l      -[A7]
  1162. 00000D56  A9FC                     syscall    ZeroScrap
  1163. 00000D58  201F                     move.l     D0, [A7]+
  1164. 00000D5A  4267                     clr.w      -[A7]
  1165. 00000D5C  4EBA F33E                jsr        [PC - 0xCC2 /* 0000009C */]
  1166. 00000D60  301F                     move.w     D0, [A7]+
  1167. 00000D62  6018                     bra        +0x1A /* 00000D7C */
  1168. 00000D64  2F2E FFF2                move.l     -[A7], [A6 - 0xE]
  1169. 00000D68  4EBA 001A                jsr        [PC + 0x1A /* 00000D84 */]
  1170. 00000D6C  588F                     addq.l     A7, 4
  1171. 00000D6E  4A40                     tst.w      D0
  1172. 00000D70  670A                     beq        +0xC /* 00000D7C */
  1173. 00000D72  2F2D FF8E                move.l     -[A7], [A5 - 0x72]
  1174. 00000D76  4EBA 02C2                jsr        [PC + 0x2C2 /* 0000103A */]
  1175. 00000D7A  588F                     addq.l     A7, 4
  1176. label00000D7C:
  1177. 00000D7C  7001                     moveq.l    D0, 0x01
  1178. 00000D7E  2E1F                     move.l     D7, [A7]+
  1179. 00000D80  4E5E                     unlink     A6
  1180. 00000D82  4E75                     rts
  1181. fn00000D84:
  1182. 00000D84  4E56 0000                link       A6, 0
  1183. 00000D88  4AAD FEB8                tst.l      [A5 - 0x148]
  1184. 00000D8C  670A                     beq        +0xC /* 00000D98 */
  1185. 00000D8E  202E 0008                move.l     D0, [A6 + 0x8]
  1186. 00000D92  B0AD FEB8                cmp.l      D0, [A5 - 0x148]
  1187. 00000D96  6704                     beq        +0x6 /* 00000D9C */
  1188. label00000D98:
  1189. 00000D98  7000                     moveq.l    D0, 0x00
  1190. 00000D9A  6002                     bra        +0x4 /* 00000D9E */
  1191. label00000D9C:
  1192. 00000D9C  7001                     moveq.l    D0, 0x01
  1193. label00000D9E:
  1194. 00000D9E  4E5E                     unlink     A6
  1195. 00000DA0  4E75                     rts
  1196. fn00000DA2:
  1197. 00000DA2  4E56 FFDE                link       A6, -0x0022
  1198. 00000DA6  3F3C 0003                move.w     -[A7], 0x3
  1199. 00000DAA  A887                     syscall    TextFont
  1200. 00000DAC  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  1201. 00000DB0  A88A                     syscall    TextSize
  1202. 00000DB2  206D FEB8                movea.l    A0, [A5 - 0x148]
  1203. 00000DB6  43EE FFE8                lea.l      A1, [A6 - 0x18]
  1204. 00000DBA  41E8 0010                lea.l      A0, [A0 + 0x10]
  1205. 00000DBE  22D8                     move.l     [A1]+, [A0]+
  1206. 00000DC0  22D8                     move.l     [A1]+, [A0]+
  1207. 00000DC2  302E FFEE                move.w     D0, [A6 - 0x12]
  1208. 00000DC6  0640 FFF4                addi.w     D0, 0xFFF4
  1209. 00000DCA  3D40 FFEA                move.w     [A6 - 0x16], D0
  1210. 00000DCE  526E FFEE                addq.w     [A6 - 0x12], 1
  1211. 00000DD2  302E FFEC                move.w     D0, [A6 - 0x14]
  1212. 00000DD6  5240                     addq.w     D0, 1
  1213. 00000DD8  3D40 FFEC                move.w     [A6 - 0x14], D0
  1214. 00000DDC  536E FFE8                subq.w     [A6 - 0x18], 1
  1215. 00000DE0  42A7                     clr.l      -[A7]
  1216. 00000DE2  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  1217. 00000DE6  486E FFE8                pea.l      [A6 - 0x18]
  1218. 00000DEA  486D FFFE                pea.l      [A5 - 0x2]
  1219. 00000DEE  1F3C 0001                move.b     -[A7], 0x1
  1220. 00000DF2  4267                     clr.w      -[A7]
  1221. 00000DF4  4267                     clr.w      -[A7]
  1222. 00000DF6  4267                     clr.w      -[A7]
  1223. 00000DF8  3F3C 0010                move.w     -[A7], 0x10
  1224. 00000DFC  42A7                     clr.l      -[A7]
  1225. 00000DFE  A954                     syscall    NewControl
  1226. 00000E00  205F                     movea.l    A0, [A7]+
  1227. 00000E02  2B48 FEC0                move.l     [A5 - 0x140], A0
  1228. 00000E06  206D FD82                movea.l    A0, [A5 - 0x27E]
  1229. 00000E0A  43EE FFF0                lea.l      A1, [A6 - 0x10]
  1230. 00000E0E  41E8 0010                lea.l      A0, [A0 + 0x10]
  1231. 00000E12  22D8                     move.l     [A1]+, [A0]+
  1232. 00000E14  22D8                     move.l     [A1]+, [A0]+
  1233. 00000E16  066E FFF4 FFF6           addi.w     [A6 - 0xA], 0xFFF4
  1234. 00000E1C  536E FFF4                subq.w     [A6 - 0xC], 1
  1235. 00000E20  486E FFF0                pea.l      [A6 - 0x10]
  1236. 00000E24  3F3C 0004                move.w     -[A7], 0x4
  1237. 00000E28  3F3C 0004                move.w     -[A7], 0x4
  1238. 00000E2C  A8A9                     syscall    InsetRect
  1239. 00000E2E  42A7                     clr.l      -[A7]
  1240. 00000E30  486E FFF0                pea.l      [A6 - 0x10]
  1241. 00000E34  486E FFF0                pea.l      [A6 - 0x10]
  1242. 00000E38  A9D2                     syscall    TENew
  1243. 00000E3A  205F                     movea.l    A0, [A7]+
  1244. 00000E3C  2B48 FEBC                move.l     [A5 - 0x144], A0
  1245. 00000E40  2F2D FD82                move.l     -[A7], [A5 - 0x27E]
  1246. 00000E44  4EBA 0156                jsr        [PC + 0x156 /* 00000F9C */]
  1247. 00000E48  588F                     addq.l     A7, 4
  1248. 00000E4A  422D FFEC                clr.b      [A5 - 0x14]
  1249. 00000E4E  4E5E                     unlink     A6
  1250. 00000E50  4E75                     rts
  1251. fn00000E52:
  1252. 00000E52  4E56 FFFA                link       A6, -0x0006
  1253. 00000E56  206D FEBC                movea.l    A0, [A5 - 0x144]
  1254. 00000E5A  226D FEBC                movea.l    A1, [A5 - 0x144]
  1255. 00000E5E  2251                     movea.l    A1, [A1]
  1256. 00000E60  2050                     movea.l    A0, [A0]
  1257. 00000E62  3028 0008                move.w     D0, [A0 + 0x8]
  1258. 00000E66  9051                     sub.w      D0, [A1]
  1259. 00000E68  3D40 FFFE                move.w     [A6 - 0x2], D0
  1260. 00000E6C  4267                     clr.w      -[A7]
  1261. 00000E6E  2F2D FEC0                move.l     -[A7], [A5 - 0x140]
  1262. 00000E72  A960                     syscall    GetControlValue/GetCtlValue
  1263. 00000E74  301F                     move.w     D0, [A7]+
  1264. 00000E76  206D FEBC                movea.l    A0, [A5 - 0x144]
  1265. 00000E7A  2050                     movea.l    A0, [A0]
  1266. 00000E7C  C1E8 0018                muls.w     D0, [A0 + 0x18]
  1267. 00000E80  3D40 FFFC                move.w     [A6 - 0x4], D0
  1268. 00000E84  302E FFFE                move.w     D0, [A6 - 0x2]
  1269. 00000E88  906E FFFC                sub.w      D0, [A6 - 0x4]
  1270. 00000E8C  3D40 FFFA                move.w     [A6 - 0x6], D0
  1271. 00000E90  4A6E FFFA                tst.w      [A6 - 0x6]
  1272. 00000E94  670C                     beq        +0xE /* 00000EA2 */
  1273. 00000E96  4267                     clr.w      -[A7]
  1274. 00000E98  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  1275. 00000E9C  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  1276. 00000EA0  A9DD                     syscall    TEScroll
  1277. label00000EA2:
  1278. 00000EA2  4E5E                     unlink     A6
  1279. 00000EA4  4E75                     rts
  1280. fn00000EA6:
  1281. 00000EA6  2F07                     move.l     -[A7], D7
  1282. 00000EA8  206D FEBC                movea.l    A0, [A5 - 0x144]
  1283. 00000EAC  2050                     movea.l    A0, [A0]
  1284. 00000EAE  3028 005E                move.w     D0, [A0 + 0x5E]
  1285. 00000EB2  906D FF92                sub.w      D0, [A5 - 0x6E]
  1286. 00000EB6  3E00                     move.w     D7, D0
  1287. 00000EB8  206D FEBC                movea.l    A0, [A5 - 0x144]
  1288. 00000EBC  2050                     movea.l    A0, [A0]
  1289. 00000EBE  4A68 003C                tst.w      [A0 + 0x3C]
  1290. 00000EC2  6F20                     ble        +0x22 /* 00000EE4 */
  1291. 00000EC4  206D FEBC                movea.l    A0, [A5 - 0x144]
  1292. 00000EC8  2050                     movea.l    A0, [A0]
  1293. 00000ECA  226D FEBC                movea.l    A1, [A5 - 0x144]
  1294. 00000ECE  2251                     movea.l    A1, [A1]
  1295. 00000ED0  2068 003E                movea.l    A0, [A0 + 0x3E]
  1296. 00000ED4  3269 003C                movea.w    A1, [A1 + 0x3C]
  1297. 00000ED8  D3D0                     add.l      A1, [A0]
  1298. 00000EDA  0C29 000D FFFF           cmpi.b     [A1 - 0x1], 0xD /* '\r' */
  1299. 00000EE0  6602                     bne        +0x4 /* 00000EE4 */
  1300. 00000EE2  5247                     addq.w     D7, 1
  1301. label00000EE4:
  1302. 00000EE4  4A47                     tst.w      D7
  1303. 00000EE6  6F06                     ble        +0x8 /* 00000EEE */
  1304. 00000EE8  3047                     movea.w    A0, D7
  1305. 00000EEA  2008                     move.l     D0, A0
  1306. 00000EEC  6002                     bra        +0x4 /* 00000EF0 */
  1307. label00000EEE:
  1308. 00000EEE  7000                     moveq.l    D0, 0x00
  1309. label00000EF0:
  1310. 00000EF0  2F2D FEC0                move.l     -[A7], [A5 - 0x140]
  1311. 00000EF4  3F00                     move.w     -[A7], D0
  1312. 00000EF6  A965                     syscall    SetControlMaximum/SetMaxCtl
  1313. 00000EF8  2E1F                     move.l     D7, [A7]+
  1314. 00000EFA  4E75                     rts
  1315. fn00000EFC:
  1316. 00000EFC  48E7 0700                movem.l    -[A7], D5,D6,D7
  1317. 00000F00  4EBA FFA4                jsr        [PC - 0x5C /* 00000EA6 */]
  1318. 00000F04  4EBA FF4C                jsr        [PC - 0xB4 /* 00000E52 */]
  1319. 00000F08  4267                     clr.w      -[A7]
  1320. 00000F0A  2F2D FEC0                move.l     -[A7], [A5 - 0x140]
  1321. 00000F0E  A960                     syscall    GetControlValue/GetCtlValue
  1322. 00000F10  301F                     move.w     D0, [A7]+
  1323. 00000F12  3E00                     move.w     D7, D0
  1324. 00000F14  3007                     move.w     D0, D7
  1325. 00000F16  D06D FF92                add.w      D0, [A5 - 0x6E]
  1326. 00000F1A  3C00                     move.w     D6, D0
  1327. 00000F1C  206D FEBC                movea.l    A0, [A5 - 0x144]
  1328. 00000F20  226D FEBC                movea.l    A1, [A5 - 0x144]
  1329. 00000F24  3007                     move.w     D0, D7
  1330. 00000F26  48C0                     ext.l      D0
  1331. 00000F28  D080                     add.l      D0, D0
  1332. 00000F2A  D091                     add.l      D0, [A1]
  1333. 00000F2C  2240                     movea.l    A1, D0
  1334. 00000F2E  2050                     movea.l    A0, [A0]
  1335. 00000F30  3028 0020                move.w     D0, [A0 + 0x20]
  1336. 00000F34  B069 0060                cmp.w      D0, [A1 + 0x60]
  1337. 00000F38  6D1E                     blt        +0x20 /* 00000F58 */
  1338. 00000F3A  206D FEBC                movea.l    A0, [A5 - 0x144]
  1339. 00000F3E  226D FEBC                movea.l    A1, [A5 - 0x144]
  1340. 00000F42  3006                     move.w     D0, D6
  1341. 00000F44  48C0                     ext.l      D0
  1342. 00000F46  D080                     add.l      D0, D0
  1343. 00000F48  D091                     add.l      D0, [A1]
  1344. 00000F4A  2240                     movea.l    A1, D0
  1345. 00000F4C  2050                     movea.l    A0, [A0]
  1346. 00000F4E  3028 0020                move.w     D0, [A0 + 0x20]
  1347. 00000F52  B069 0060                cmp.w      D0, [A1 + 0x60]
  1348. 00000F56  6D3E                     blt        +0x40 /* 00000F96 */
  1349. label00000F58:
  1350. 00000F58  7A00                     moveq.l    D5, 0x00
  1351. 00000F5A  6002                     bra        +0x4 /* 00000F5E */
  1352. label00000F5C:
  1353. 00000F5C  5245                     addq.w     D5, 1
  1354. label00000F5E:
  1355. 00000F5E  206D FEBC                movea.l    A0, [A5 - 0x144]
  1356. 00000F62  226D FEBC                movea.l    A1, [A5 - 0x144]
  1357. 00000F66  3005                     move.w     D0, D5
  1358. 00000F68  48C0                     ext.l      D0
  1359. 00000F6A  D080                     add.l      D0, D0
  1360. 00000F6C  D091                     add.l      D0, [A1]
  1361. 00000F6E  2240                     movea.l    A1, D0
  1362. 00000F70  2050                     movea.l    A0, [A0]
  1363. 00000F72  3028 0020                move.w     D0, [A0 + 0x20]
  1364. 00000F76  B069 0060                cmp.w      D0, [A1 + 0x60]
  1365. 00000F7A  6CE0                     bge        -0x1E /* 00000F5C */
  1366. 00000F7C  306D FF92                movea.w    A0, [A5 - 0x6E]
  1367. 00000F80  2008                     move.l     D0, A0
  1368. 00000F82  81FC 0002                divs.w     D0, 0x2
  1369. 00000F86  3205                     move.w     D1, D5
  1370. 00000F88  9240                     sub.w      D1, D0
  1371. 00000F8A  2F2D FEC0                move.l     -[A7], [A5 - 0x140]
  1372. 00000F8E  3F01                     move.w     -[A7], D1
  1373. 00000F90  A963                     syscall    SetControlValue/SetCtlValue
  1374. 00000F92  4EBA FEBE                jsr        [PC - 0x142 /* 00000E52 */]
  1375. label00000F96:
  1376. 00000F96  4CDF 00E0                movem.l    D5,D6,D7, [A7]+
  1377. 00000F9A  4E75                     rts
  1378. fn00000F9C:
  1379. 00000F9C  4E56 0000                link       A6, 0
  1380. 00000FA0  2F0A                     move.l     -[A7], A2
  1381. 00000FA2  206D FEBC                movea.l    A0, [A5 - 0x144]
  1382. 00000FA6  226E 0008                movea.l    A1, [A6 + 0x8]
  1383. 00000FAA  2050                     movea.l    A0, [A0]
  1384. 00000FAC  5088                     addq.l     A0, 8
  1385. 00000FAE  43E9 0010                lea.l      A1, [A1 + 0x10]
  1386. 00000FB2  20D9                     move.l     [A0]+, [A1]+
  1387. 00000FB4  20D9                     move.l     [A0]+, [A1]+
  1388. 00000FB6  206D FEBC                movea.l    A0, [A5 - 0x144]
  1389. 00000FBA  2050                     movea.l    A0, [A0]
  1390. 00000FBC  0668 FFF4 000E           addi.w     [A0 + 0xE], 0xFFF4
  1391. 00000FC2  206D FEBC                movea.l    A0, [A5 - 0x144]
  1392. 00000FC6  2050                     movea.l    A0, [A0]
  1393. 00000FC8  4868 0008                pea.l      [A0 + 0x8]
  1394. 00000FCC  3F3C 0004                move.w     -[A7], 0x4
  1395. 00000FD0  3F3C 0004                move.w     -[A7], 0x4
  1396. 00000FD4  A8A9                     syscall    InsetRect
  1397. 00000FD6  206D FEBC                movea.l    A0, [A5 - 0x144]
  1398. 00000FDA  226D FEBC                movea.l    A1, [A5 - 0x144]
  1399. 00000FDE  2251                     movea.l    A1, [A1]
  1400. 00000FE0  2050                     movea.l    A0, [A0]
  1401. 00000FE2  3028 000C                move.w     D0, [A0 + 0xC]
  1402. 00000FE6  9069 0008                sub.w      D0, [A1 + 0x8]
  1403. 00000FEA  206D FEBC                movea.l    A0, [A5 - 0x144]
  1404. 00000FEE  2050                     movea.l    A0, [A0]
  1405. 00000FF0  48C0                     ext.l      D0
  1406. 00000FF2  81E8 0018                divs.w     D0, [A0 + 0x18]
  1407. 00000FF6  3B40 FF92                move.w     [A5 - 0x6E], D0
  1408. 00000FFA  206D FEBC                movea.l    A0, [A5 - 0x144]
  1409. 00000FFE  226D FEBC                movea.l    A1, [A5 - 0x144]
  1410. 00001002  246D FEBC                movea.l    A2, [A5 - 0x144]
  1411. 00001006  2452                     movea.l    A2, [A2]
  1412. 00001008  302A 0018                move.w     D0, [A2 + 0x18]
  1413. 0000100C  C1ED FF92                muls.w     D0, [A5 - 0x6E]
  1414. 00001010  2251                     movea.l    A1, [A1]
  1415. 00001012  D069 0008                add.w      D0, [A1 + 0x8]
  1416. 00001016  2050                     movea.l    A0, [A0]
  1417. 00001018  3140 000C                move.w     [A0 + 0xC], D0
  1418. 0000101C  206D FEBC                movea.l    A0, [A5 - 0x144]
  1419. 00001020  226D FEBC                movea.l    A1, [A5 - 0x144]
  1420. 00001024  2251                     movea.l    A1, [A1]
  1421. 00001026  2050                     movea.l    A0, [A0]
  1422. 00001028  3169 000E 0006           move.w     [A0 + 0x6], [A1 + 0xE]
  1423. 0000102E  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  1424. 00001032  A9D0                     syscall    TECalText
  1425. 00001034  245F                     movea.l    A2, [A7]+
  1426. 00001036  4E5E                     unlink     A6
  1427. 00001038  4E75                     rts
  1428. fn0000103A:
  1429. 0000103A  4E56 FFFC                link       A6, -0x0004
  1430. 0000103E  486E FFFC                pea.l      [A6 - 0x4]
  1431. 00001042  A874                     syscall    GetPort
  1432. 00001044  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1433. 00001048  A873                     syscall    SetPort
  1434. 0000104A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1435. 0000104E  A922                     syscall    BeginUpdate
  1436. 00001050  206E 0008                movea.l    A0, [A6 + 0x8]
  1437. 00001054  4868 0010                pea.l      [A0 + 0x10]
  1438. 00001058  A8A3                     syscall    EraseRect
  1439. 0000105A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1440. 0000105E  A969                     syscall    DrawControls
  1441. 00001060  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1442. 00001064  A904                     syscall    DrawGrowIcon
  1443. 00001066  206E 0008                movea.l    A0, [A6 + 0x8]
  1444. 0000106A  4868 0010                pea.l      [A0 + 0x10]
  1445. 0000106E  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  1446. 00001072  A9D3                     syscall    TEUpdate
  1447. 00001074  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1448. 00001078  A923                     syscall    EndUpdate
  1449. 0000107A  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1450. 0000107E  A873                     syscall    SetPort
  1451. 00001080  4E5E                     unlink     A6
  1452. 00001082  4E75                     rts
  1453. export_11:
  1454. 00001084  4E56 FFFC                link       A6, -0x0004
  1455. 00001088  4A6E 0008                tst.w      [A6 + 0x8]
  1456. 0000108C  6700 007A                beq        +0x7C /* 00001108 */
  1457. 00001090  206D FEBC                movea.l    A0, [A5 - 0x144]
  1458. 00001094  226D FEBC                movea.l    A1, [A5 - 0x144]
  1459. 00001098  2251                     movea.l    A1, [A1]
  1460. 0000109A  2050                     movea.l    A0, [A0]
  1461. 0000109C  3028 000C                move.w     D0, [A0 + 0xC]
  1462. 000010A0  9069 0008                sub.w      D0, [A1 + 0x8]
  1463. 000010A4  206D FEBC                movea.l    A0, [A5 - 0x144]
  1464. 000010A8  2050                     movea.l    A0, [A0]
  1465. 000010AA  48C0                     ext.l      D0
  1466. 000010AC  81E8 0018                divs.w     D0, [A0 + 0x18]
  1467. 000010B0  5340                     subq.w     D0, 1
  1468. 000010B2  3D40 FFFE                move.w     [A6 - 0x2], D0
  1469. 000010B6  302E 0008                move.w     D0, [A6 + 0x8]
  1470. 000010BA  4EAD 003A                jsr        [A5 + 0x3A /* export_3 */]
  1471. 000010BE  0014 0017                ori.b      [A4], 0x17
  1472. 000010C2  002C 0008 000E           ori.b      [A4 + 0xE], 0x8
  1473. 000010C8  0014 001E                ori.b      [A4], 0x1E
  1474. 000010CC  70FF                     moveq.l    D0, 0xFFFFFFFF
  1475. 000010CE  3D40 FFFC                move.w     [A6 - 0x4], D0
  1476. 000010D2  601A                     bra        +0x1C /* 000010EE */
  1477. 000010D4  7001                     moveq.l    D0, 0x01
  1478. 000010D6  3D40 FFFC                move.w     [A6 - 0x4], D0
  1479. 000010DA  6012                     bra        +0x14 /* 000010EE */
  1480. 000010DC  302E FFFE                move.w     D0, [A6 - 0x2]
  1481. 000010E0  4440                     neg.w      D0
  1482. 000010E2  3D40 FFFC                move.w     [A6 - 0x4], D0
  1483. 000010E6  6006                     bra        +0x8 /* 000010EE */
  1484. 000010E8  3D6E FFFE FFFC           move.w     [A6 - 0x4], [A6 - 0x2]
  1485. label000010EE:
  1486. 000010EE  4267                     clr.w      -[A7]
  1487. 000010F0  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  1488. 000010F4  A960                     syscall    GetControlValue/GetCtlValue
  1489. 000010F6  301F                     move.w     D0, [A7]+
  1490. 000010F8  D06E FFFC                add.w      D0, [A6 - 0x4]
  1491. 000010FC  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  1492. 00001100  3F00                     move.w     -[A7], D0
  1493. 00001102  A963                     syscall    SetControlValue/SetCtlValue
  1494. 00001104  4EBA FD4C                jsr        [PC - 0x2B4 /* 00000E52 */]
  1495. label00001108:
  1496. 00001108  4E5E                     unlink     A6
  1497. 0000110A  205F                     movea.l    A0, [A7]+
  1498. 0000110C  4FEF 0006                lea.l      A7, [A7 + 0x6]
  1499. 00001110  4ED0                     jmp        [A0]
  1500. fn00001112:
  1501. 00001112  4E56 FFF0                link       A6, -0x0010
  1502. 00001116  486E FFF0                pea.l      [A6 - 0x10]
  1503. 0000111A  A874                     syscall    GetPort
  1504. 0000111C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1505. 00001120  A873                     syscall    SetPort
  1506. 00001122  206E 000C                movea.l    A0, [A6 + 0xC]
  1507. 00001126  4868 000A                pea.l      [A0 + 0xA]
  1508. 0000112A  A871                     syscall    GlobalToLocal
  1509. 0000112C  4267                     clr.w      -[A7]
  1510. 0000112E  206E 000C                movea.l    A0, [A6 + 0xC]
  1511. 00001132  2F28 000A                move.l     -[A7], [A0 + 0xA]
  1512. 00001136  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1513. 0000113A  486E FFF6                pea.l      [A6 - 0xA]
  1514. 0000113E  A96C                     syscall    FindControl
  1515. 00001140  301F                     move.w     D0, [A7]+
  1516. 00001142  3D40 FFFA                move.w     [A6 - 0x6], D0
  1517. 00001146  4A40                     tst.w      D0
  1518. 00001148  661C                     bne        +0x1E /* 00001166 */
  1519. 0000114A  206D FEBC                movea.l    A0, [A5 - 0x144]
  1520. 0000114E  4267                     clr.w      -[A7]
  1521. 00001150  226E 000C                movea.l    A1, [A6 + 0xC]
  1522. 00001154  2F29 000A                move.l     -[A7], [A1 + 0xA]
  1523. 00001158  2050                     movea.l    A0, [A0]
  1524. 0000115A  4868 0008                pea.l      [A0 + 0x8]
  1525. 0000115E  A8AD                     syscall    PtInRect
  1526. 00001160  101F                     move.b     D0, [A7]+
  1527. 00001162  4A00                     tst.b      D0
  1528. 00001164  6038                     bra        +0x3A /* 0000119E */
  1529. label00001166:
  1530. 00001166  0C6E 0081 FFFA           cmpi.w     [A6 - 0x6], 0x81
  1531. 0000116C  661A                     bne        +0x1C /* 00001188 */
  1532. 0000116E  4267                     clr.w      -[A7]
  1533. 00001170  2F2E FFF6                move.l     -[A7], [A6 - 0xA]
  1534. 00001174  206E 000C                movea.l    A0, [A6 + 0xC]
  1535. 00001178  2F28 000A                move.l     -[A7], [A0 + 0xA]
  1536. 0000117C  42A7                     clr.l      -[A7]
  1537. 0000117E  A968                     syscall    TrackControl
  1538. 00001180  301F                     move.w     D0, [A7]+
  1539. 00001182  4EBA FCCE                jsr        [PC - 0x332 /* 00000E52 */]
  1540. 00001186  6016                     bra        +0x18 /* 0000119E */
  1541. label00001188:
  1542. 00001188  4267                     clr.w      -[A7]
  1543. 0000118A  2F2E FFF6                move.l     -[A7], [A6 - 0xA]
  1544. 0000118E  206E 000C                movea.l    A0, [A6 + 0xC]
  1545. 00001192  2F28 000A                move.l     -[A7], [A0 + 0xA]
  1546. 00001196  486D 007A                pea.l      [A5 + 0x7A /* export_11 */]
  1547. 0000119A  A968                     syscall    TrackControl
  1548. 0000119C  301F                     move.w     D0, [A7]+
  1549. label0000119E:
  1550. 0000119E  2F2E FFF0                move.l     -[A7], [A6 - 0x10]
  1551. 000011A2  A873                     syscall    SetPort
  1552. 000011A4  4E5E                     unlink     A6
  1553. 000011A6  4E75                     rts
  1554.